public class IniParser extends Object
| Constructor and Description |
|---|
IniParser() |
| Modifier and Type | Method and Description |
|---|---|
protected Config |
getConfig() |
static IniParser |
newInstance() |
static IniParser |
newInstance(Config config) |
void |
parse(InputStream input,
IniHandler handler) |
void |
parse(Reader input,
IniHandler handler) |
void |
parse(URL input,
IniHandler handler) |
protected void |
parseError(String line,
int lineNumber) |
protected void |
setConfig(Config value) |
public IniParser()
public static IniParser newInstance()
public static IniParser newInstance(Config config)
public void parse(InputStream input, IniHandler handler) throws IOException, InvalidFileFormatException
IOExceptionInvalidFileFormatExceptionpublic void parse(Reader input, IniHandler handler) throws IOException, InvalidFileFormatException
IOExceptionInvalidFileFormatExceptionpublic void parse(URL input, IniHandler handler) throws IOException, InvalidFileFormatException
IOExceptionInvalidFileFormatExceptionprotected void parseError(String line, int lineNumber) throws InvalidFileFormatException
InvalidFileFormatException