public interface Processor
| Modifier and Type | Method and Description |
|---|---|
Object |
fromCommandline(String s)
Turns the commandline back into an object.
|
String[] |
getOptions(Object obj)
Returns the options from the object.
|
void |
setOptions(Object obj,
String[] options)
Sets the options for the object.
|
String |
toCommandline(Object obj)
Turns the object into a commandline.
|
String toCommandline(Object obj) throws Exception
obj - the object to convertException - if failed to convertObject fromCommandline(String s) throws Exception
s - the commandlineException - if failed to create objectString[] getOptions(Object obj) throws Exception
obj - the object to get the options fromException - if failed to get optionsCopyright © 2017 University of Waikato, Hamilton, NZ. All Rights Reserved.