|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.main.Main
public class Main
The new main program. There can be many file names to process and there can be differing outputs determined by options. So the actual work is mostly done in other classes. This one just works out what is wanted.
Constructor Summary | |
---|---|
Main()
|
Method Summary | |
---|---|
void |
endOptions(CommandArgs args)
Called when all the command line options have been processed. |
static void |
main(java.lang.String[] args)
The main program to make or combine maps. |
void |
processFilename(CommandArgs args,
java.lang.String filename)
Switch out to the appropriate class to process the filename. |
void |
processOption(java.lang.String opt,
java.lang.String val)
Process an option. |
void |
startOptions()
Called right at the beginning, before any command line options have been looked at. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Main()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- The command line arguments.public void startOptions()
ArgumentProcessor
startOptions
in interface ArgumentProcessor
public void processFilename(CommandArgs args, java.lang.String filename)
processFilename
in interface ArgumentProcessor
args
- A copy of the option arguments in force when this filename
was specified.filename
- The filename.public void processOption(java.lang.String opt, java.lang.String val)
ArgumentProcessor
processOption
in interface ArgumentProcessor
opt
- The option name.val
- The option value.public void endOptions(CommandArgs args)
ArgumentProcessor
endOptions
in interface ArgumentProcessor
args
- The command line options.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |