uk.me.parabola.mkgmap
Interface ArgumentProcessor

All Known Implementing Classes:
Main

public interface ArgumentProcessor

Used to step through each filename that is given to the program.

Author:
Steve Ratcliffe

Method Summary
 void endOptions(CommandArgs args)
          Called when all the command line options have been processed.
 void processFilename(CommandArgs args, java.lang.String filename)
          Process a 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.
 

Method Detail

processOption

void processOption(java.lang.String opt,
                   java.lang.String val)
Process an option. This is intended for options that change state or that say how the next filename is to be operated upon.

Parameters:
opt - The option name.
val - The option value.

processFilename

void processFilename(CommandArgs args,
                     java.lang.String filename)
Process a filename.

Parameters:
args - A copy of the option arguments in force when this filename was specified.
filename - The filename.

endOptions

void endOptions(CommandArgs args)
Called when all the command line options have been processed.

Parameters:
args - The command line options.

startOptions

void startOptions()
Called right at the beginning, before any command line options have been looked at.