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 ConfiggetConfig()static OptionsParsernewInstance()static OptionsParsernewInstance(Config config)voidparse(java.io.InputStream input, OptionsHandler handler)voidparse(java.io.Reader input, OptionsHandler handler)voidparse(java.net.URL input, OptionsHandler handler)protected voidparseError(java.lang.String line, int lineNumber)protected voidsetConfig(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.IOExceptionInvalidFileFormatException
-
parse
public void parse(java.io.Reader input, OptionsHandler handler) throws java.io.IOException, InvalidFileFormatException- Throws:
java.io.IOExceptionInvalidFileFormatException
-
parse
public void parse(java.net.URL input, OptionsHandler handler) throws java.io.IOException, InvalidFileFormatException- Throws:
java.io.IOExceptionInvalidFileFormatException
-
getConfig
protected Config getConfig()
-
setConfig
protected void setConfig(Config value)
-
parseError
protected void parseError(java.lang.String line, int lineNumber) throws InvalidFileFormatException- Throws:
InvalidFileFormatException
-
-