stella.util
Class HistoryDatabase.Logfile

java.lang.Object
  extended by util.CommandLineParser
      extended by stella.util.HistoryDatabase.Logfile
Enclosing class:
HistoryDatabase

public static class HistoryDatabase.Logfile
extends CommandLineParser

Simple command line interface.


Nested Class Summary
 
Nested classes/interfaces inherited from class util.CommandLineParser
CommandLineParser.Test
 
Field Summary
private static String FOOT
          A footer message.
private static String SWITCHES
          The switches for adding properties.
private static Map USE
          Detailed use of switches.
 
Constructor Summary
HistoryDatabase.Logfile()
          Constructs the parser to the sensor tester.
 
Method Summary
static void main(String[] arg)
          Entry point.
 boolean process(String[] arg)
          Reads the command line and parses the supplied master log.
 
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

SWITCHES

private static final String SWITCHES
The switches for adding properties.

See Also:
Constant Field Values

USE

private static final Map USE
Detailed use of switches.


FOOT

private static final String FOOT
A footer message.

See Also:
Constant Field Values
Constructor Detail

HistoryDatabase.Logfile

public HistoryDatabase.Logfile()
Constructs the parser to the sensor tester. All known switches are registered.

Method Detail

process

public boolean process(String[] arg)
                throws ParseException,
                       IOException
Reads the command line and parses the supplied master log.

Throws:
ParseException
IOException

main

public static void main(String[] arg)
                 throws ParseException,
                        IOException
Entry point. Issue without argumetns for usage.

Throws:
ParseException
IOException