org.ini4j
public class Ini extends BasicProfile implements Persistable, Configurable
Profile.Section
PATH_SEPARATOR
Constructor and Description |
---|
Ini() |
Ini(File input) |
Ini(InputStream input) |
Ini(Reader input) |
Ini(URL input) |
Modifier and Type | Method and Description |
---|---|
Config |
getConfig() |
File |
getFile() |
void |
load() |
void |
load(File input) |
void |
load(InputStream input) |
void |
load(Reader input) |
void |
load(URL input) |
protected IniHandler |
newBuilder() |
void |
setConfig(Config value) |
void |
setFile(File value) |
void |
store() |
void |
store(File output) |
protected void |
store(IniHandler formatter,
Profile.Section section) |
protected void |
store(IniHandler formatter,
Profile.Section section,
String option,
int index) |
void |
store(OutputStream output) |
void |
store(Writer output) |
add, add, as, as, fetch, fetch, get, get, getComment, put, remove, remove, setComment
clear, getComment, putAll, putComment, remove, remove, removeComment
add, add, containsKey, containsValue, entrySet, get, get, getAll, isEmpty, keySet, length, put, put, putAll, size, toString, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComment, putComment, removeComment
public Ini()
public Ini(Reader input) throws IOException, InvalidFileFormatException
public Ini(InputStream input) throws IOException, InvalidFileFormatException
public Ini(URL input) throws IOException, InvalidFileFormatException
public Ini(File input) throws IOException, InvalidFileFormatException
public Config getConfig()
getConfig
in interface Configurable
public void setConfig(Config value)
setConfig
in interface Configurable
public File getFile()
getFile
in interface Persistable
public void setFile(File value)
setFile
in interface Persistable
public void load() throws IOException, InvalidFileFormatException
load
in interface Persistable
IOException
InvalidFileFormatException
public void load(InputStream input) throws IOException, InvalidFileFormatException
load
in interface Persistable
IOException
InvalidFileFormatException
public void load(Reader input) throws IOException, InvalidFileFormatException
load
in interface Persistable
IOException
InvalidFileFormatException
public void load(File input) throws IOException, InvalidFileFormatException
load
in interface Persistable
IOException
InvalidFileFormatException
public void load(URL input) throws IOException, InvalidFileFormatException
load
in interface Persistable
IOException
InvalidFileFormatException
public void store() throws IOException
store
in interface Persistable
IOException
public void store(OutputStream output) throws IOException
store
in interface Persistable
IOException
public void store(Writer output) throws IOException
store
in interface Persistable
IOException
public void store(File output) throws IOException
store
in interface Persistable
IOException
protected IniHandler newBuilder()
protected void store(IniHandler formatter, Profile.Section section)
protected void store(IniHandler formatter, Profile.Section section, String option, int index)