Constructor and Description |
---|
IniParser() |
Modifier and Type | Method and Description |
---|---|
static java.io.BufferedReader |
openTextResource(java.lang.String path)
Opens a buffered reader for the given resource.
|
static java.io.BufferedReader |
openTextResource(java.lang.String path,
java.lang.Class<?> c)
Opens a buffered reader for the given resource.
|
IniList |
parseINI(java.io.BufferedReader in)
Parses the INI-style configuration data from the given input stream.
|
IniList |
parseINI(java.io.File file)
Parses the INI-style wrapping the given file in a
BufferedReader |
IniList |
parseINI(java.lang.String path)
Parses the INI-style configuration data from the given resource.
|
IniList |
parseINI(java.lang.String path,
java.lang.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(java.lang.String delimiter)
Set the String that identifies a comment.
|
public void setCommentDelimiter(java.lang.String delimiter)
public void setBackslashContinuesLine(boolean slashContinues)
public IniList parseINI(java.lang.String path) throws java.io.IOException
java.io.IOException
public IniList parseINI(java.lang.String path, java.lang.Class<?> c) throws java.io.IOException
java.io.IOException
public IniList parseINI(java.io.File file) throws java.io.IOException
BufferedReader
java.io.IOException
public IniList parseINI(java.io.BufferedReader in) throws java.io.IOException
java.io.IOException
public static java.io.BufferedReader openTextResource(java.lang.String path)
public static java.io.BufferedReader openTextResource(java.lang.String path, java.lang.Class<?> c)
Copyright © 2014 Open Microscopy Environment