stella.sensor
Class DailyDumpRepository.Parser

java.lang.Object
  extended by util.CommandLineParser
      extended by stella.sensor.DailyDumpRepository.Parser
Enclosing class:
DailyDumpRepository

private static final class DailyDumpRepository.Parser
extends CommandLineParser

A command line parser class to allow direct parameter hand-over. Run the main command without arguments to see the options.


Nested Class Summary
 
Nested classes/interfaces inherited from class util.CommandLineParser
CommandLineParser.Test
 
Field Summary
(package private) static String FOOT
          A footer message.
(package private) static DailyDumpRepository.Parser parse
          The parser instance.
(package private) static String SWITCHES
          The switches for adding properties.
(package private) static Map USE
          Detailed use of switches.
 
Constructor Summary
protected DailyDumpRepository.Parser()
          Constructs the parser to the sensor tester.
 
Method Summary
(package private)  Map process(String[] arg)
          Reads the command line into a properties object.
 
Methods inherited from class util.CommandLineParser
getArguments, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parse

static DailyDumpRepository.Parser parse
The parser instance.


SWITCHES

static final String SWITCHES
The switches for adding properties.

See Also:
Constant Field Values

USE

static final Map USE
Detailed use of switches.


FOOT

static final String FOOT
A footer message.

See Also:
Constant Field Values
Constructor Detail

DailyDumpRepository.Parser

protected DailyDumpRepository.Parser()
Constructs the parser to the sensor tester. All known switches are registered.

Method Detail

process

Map process(String[] arg)
      throws ParseException
Reads the command line into a properties object. If no command is given, construction starts with an empty properties object, otherwise the command is read in as a properties file. After this initialization, the switches present are used to augment the properties. Switches overrule file presets.

Throws:
ParseException