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, InvalidFileFormatException
public void parse(Reader input, OptionsHandler handler) throws IOException, InvalidFileFormatException
public void parse(URL input, OptionsHandler handler) throws IOException, InvalidFileFormatException
protected Config getConfig()
protected void setConfig(Config value)
protected void parseError(String line, int lineNumber) throws InvalidFileFormatException
InvalidFileFormatException
Copyright © 2019. All rights reserved.