Package org.ini4j.spi
Class IniParser
- Object
-
- org.ini4j.spi.IniParser
-
public class IniParser extends Object
-
-
Constructor Summary
Constructors Constructor Description IniParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfiggetConfig()static IniParsernewInstance()static IniParsernewInstance(Config config)voidparse(InputStream input, IniHandler handler)voidparse(Reader input, IniHandler handler)voidparse(URL input, IniHandler handler)protected voidparseError(String line, int lineNumber)protected voidsetConfig(Config value)
-
-
-
Method Detail
-
newInstance
public static IniParser newInstance()
-
parse
public void parse(InputStream input, IniHandler handler) throws IOException, InvalidFileFormatException- Throws:
IOExceptionInvalidFileFormatException
-
parse
public void parse(Reader input, IniHandler handler) throws IOException, InvalidFileFormatException- Throws:
IOExceptionInvalidFileFormatException
-
parse
public void parse(URL input, IniHandler handler) throws IOException, InvalidFileFormatException- Throws:
IOExceptionInvalidFileFormatException
-
getConfig
protected Config getConfig()
-
setConfig
protected void setConfig(Config value)
-
parseError
protected void parseError(String line, int lineNumber) throws InvalidFileFormatException- Throws:
InvalidFileFormatException
-
-