astro
Class LightCurveSimulator.Series

java.lang.Object
  extended by util.CommandLineParser
      extended by util.PropertyParser
          extended by astro.LightCurveSimulator.Series
Enclosing class:
LightCurveSimulator

public static class LightCurveSimulator.Series
extends PropertyParser

Parses the command line and prints out a simluated light curve.


Nested Class Summary
 
Nested classes/interfaces inherited from class util.CommandLineParser
CommandLineParser.Test
 
Field Summary
private static Map<String,String> MAP
          A map linking the command line arguments to their property keys.
static String ONESWITCHES
          The one-argument command line switches understood.
static Map<String,String> USE
          A human-readable description of the switches.
static String ZEROSWITCHES
          The one-argument command line switches understood.
 
Constructor Summary
LightCurveSimulator.Series()
          Constructs a new series maker.
 
Method Summary
static void main(String[] arg)
          Scans command line switches and generates simulated annulus images from it.
protected  boolean processSwitches()
          Process the command line switches found.
 
Methods inherited from class util.PropertyParser
parseMap, parseMap, parseProperties, parseProperties, parseProperties
 
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

ZEROSWITCHES

public static final String ZEROSWITCHES
The one-argument command line switches understood.

See Also:
Constant Field Values

ONESWITCHES

public static final String ONESWITCHES
The one-argument command line switches understood.

See Also:
Constant Field Values

USE

public static final Map<String,String> USE
A human-readable description of the switches.


MAP

private static final Map<String,String> MAP
A map linking the command line arguments to their property keys.

Constructor Detail

LightCurveSimulator.Series

public LightCurveSimulator.Series()
Constructs a new series maker. The switches understood are readily added to the command line parser.

Method Detail

processSwitches

protected boolean processSwitches()
                           throws IOException
Process the command line switches found.

Returns:
True on success.
Throws:
IOException

main

public static void main(String[] arg)
                 throws ParseException,
                        IOException
Scans command line switches and generates simulated annulus images from it.

Throws:
ParseException
IOException