public class OptionsParser extends Object
| Constructor and Description |
|---|
OptionsParser() |
| Modifier and Type | Method and Description |
|---|---|
protected Config |
getConfig() |
static OptionsParser |
newInstance() |
static OptionsParser |
newInstance(Config config) |
void |
parse(InputStream input,
OptionsHandler handler) |
void |
parse(Reader input,
OptionsHandler handler) |
void |
parse(URL input,
OptionsHandler handler) |
protected void |
parseError(String line,
int lineNumber) |
protected void |
setConfig(Config value) |
public static OptionsParser newInstance()
public static OptionsParser newInstance(Config config)
public void parse(InputStream input, OptionsHandler handler) throws IOException
IOExceptionpublic void parse(Reader input, OptionsHandler handler) throws IOException
IOExceptionpublic void parse(URL input, OptionsHandler handler) throws IOException
IOExceptionprotected Config getConfig()
protected void setConfig(Config value)
protected void parseError(String line, int lineNumber) throws InvalidFileFormatException
InvalidFileFormatExceptionCopyright © 2017. All rights reserved.