public class RaDeParser extends CommandLineParser
CommandLineParser.Template, CommandLineParser.Test| Modifier and Type | Field and Description |
|---|---|
private static String |
SWITCHES
The switches for parsing ra and de.
|
protected static Map<String,String> |
USE
Detailed use of switches.
|
HELPSWITCHES| Constructor and Description |
|---|
RaDeParser()
Construct a new RaDeParser and assigne the one-argument switches for
parsing ra/de.
|
| Modifier and Type | Method and Description |
|---|---|
Vector2D |
getRaDe()
Reads the command line and parses ra,dec out of it.
|
static Vector2D |
getRaDe(CommandLineParser cmd)
Reads the command line and parses ra,dec out of it.
|
static String |
raDeString(Vector2D rade) |
static String |
raDeString(Vector2D rade,
int raprec,
int deprec) |
static void |
registerRaDeSwitches(CommandLineParser cmd)
Static version for subclasses that want ra/de parsinge capabilities.
|
addHelpSwitches, getArguments, getCallerName, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasHelpSwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usageprivate static final String SWITCHES
public RaDeParser()
public static void registerRaDeSwitches(CommandLineParser cmd)
getRaDe().cmd - public Vector2D getRaDe()
public static Vector2D getRaDe(CommandLineParser cmd)