Package org.ini4j.spi
Class OptionsParser
- java.lang.Object
-
- org.ini4j.spi.OptionsParser
-
public class OptionsParser extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OptionsParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Config
getConfig()
static OptionsParser
newInstance()
static OptionsParser
newInstance(Config config)
void
parse(java.io.InputStream input, OptionsHandler handler)
void
parse(java.io.Reader input, OptionsHandler handler)
void
parse(java.net.URL input, OptionsHandler handler)
protected void
parseError(java.lang.String line, int lineNumber)
protected void
setConfig(Config value)
-
-
-
Method Detail
-
newInstance
public static OptionsParser newInstance()
-
newInstance
public static OptionsParser newInstance(Config config)
-
parse
public void parse(java.io.InputStream input, OptionsHandler handler) throws java.io.IOException, InvalidFileFormatException
- Throws:
java.io.IOException
InvalidFileFormatException
-
parse
public void parse(java.io.Reader input, OptionsHandler handler) throws java.io.IOException, InvalidFileFormatException
- Throws:
java.io.IOException
InvalidFileFormatException
-
parse
public void parse(java.net.URL input, OptionsHandler handler) throws java.io.IOException, InvalidFileFormatException
- Throws:
java.io.IOException
InvalidFileFormatException
-
getConfig
protected Config getConfig()
-
setConfig
protected void setConfig(Config value)
-
parseError
protected void parseError(java.lang.String line, int lineNumber) throws InvalidFileFormatException
- Throws:
InvalidFileFormatException
-
-