public class DataStreamConvert extends CommandLineParser
CommandLineParser.Template, CommandLineParser.Test| Modifier and Type | Field and Description |
|---|---|
private static String |
FOOT
A footer message.
|
private static String |
SWITCHES
Switches with one argument.
|
private static Map<String,String> |
USE
Detailed use of switches.
|
HELPSWITCHES| Constructor and Description |
|---|
DataStreamConvert()
Sets up the data stream converter.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg)
Parses the command line and prints output to standard out.
|
private void |
process(String[] arg)
Processes the command line if no file or no format is given, a
usage message is displayed and nothing else is changed.
|
addHelpSwitches, getArguments, getCallerName, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasHelpSwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usageprivate static final String SWITCHES
private static final String FOOT
private void process(String[] arg) throws ParseException, IOException
ParseExceptionIOExceptionpublic static void main(String[] arg) throws ParseException, IOException
ParseExceptionIOException