public class IniParser extends Object
Constructor and Description |
---|
IniParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static BufferedReader |
openTextResource(String path)
Opens a buffered reader for the given resource.
|
static BufferedReader |
openTextResource(String path,
Class<?> c)
Opens a buffered reader for the given resource.
|
IniList |
parseINI(BufferedReader in)
Parses the INI-style configuration data from the given input stream.
|
IniList |
parseINI(String path)
Parses the INI-style configuration data from the given resource.
|
IniList |
parseINI(String path,
Class<?> c)
Parses the INI-style configuration data from the given resource,
using the given class to find the resource.
|
void |
setBackslashContinuesLine(boolean slashContinues)
Set whether or not a '\' at the end of a line signifies that the
line continues on the following line.
|
void |
setCommentDelimiter(String delimiter)
Set the String that identifies a comment.
|
String |
toString() |
public void setCommentDelimiter(String delimiter)
public void setBackslashContinuesLine(boolean slashContinues)
public IniList parseINI(String path) throws IOException
IOException
public IniList parseINI(String path, Class<?> c) throws IOException
IOException
public IniList parseINI(BufferedReader in) throws IOException
IOException
public static BufferedReader openTextResource(String path)
public static BufferedReader openTextResource(String path, Class<?> c)
Copyright © 2014 Open Microscopy Environment