public class Ini extends BasicProfile implements Persistable, Configurable
Profile.SectionPATH_SEPARATOR| Constructor and Description |
|---|
Ini() |
Ini(Config config) |
Ini(File input) |
Ini(File input,
Config config) |
Ini(InputStream input) |
Ini(InputStream input,
Config config) |
Ini(Reader input) |
Ini(Reader input,
Config config) |
Ini(URL input) |
Ini(URL input,
Config config) |
| 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, getFooterComment, getHeaderComment, put, remove, removeOptionFromSection, setFooterComment, setHeaderCommentaddEmptyLine, clear, getComment, getNewLineCount, putAll, putComment, remove, remove, removeCommentadd, add, containsKey, containsValue, entrySet, get, get, getAll, isEmpty, keySet, length, put, put, putAll, size, toString, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, add, get, getAll, length, put, putAll, removeaddEmptyLine, getComment, getNewLineCount, putComment, removeCommentclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic Ini()
public Ini(Config config)
public Ini(Reader input) throws IOException, InvalidFileFormatException
public Ini(Reader input, Config config) throws IOException, InvalidFileFormatException
public Ini(InputStream input) throws IOException, InvalidFileFormatException
public Ini(InputStream input, Config config) throws IOException, InvalidFileFormatException
public Ini(URL input) throws IOException, InvalidFileFormatException
public Ini(URL input, Config config) throws IOException, InvalidFileFormatException
public Ini(File input) throws IOException, InvalidFileFormatException
public Ini(File input, Config config) throws IOException, InvalidFileFormatException
public Config getConfig()
getConfig in interface Configurablepublic void setConfig(Config value)
setConfig in interface Configurablepublic File getFile()
getFile in interface Persistablepublic void setFile(File value)
setFile in interface Persistablepublic void load()
throws IOException,
InvalidFileFormatException
load in interface PersistableIOExceptionInvalidFileFormatExceptionpublic void load(InputStream input) throws IOException, InvalidFileFormatException
load in interface PersistableIOExceptionInvalidFileFormatExceptionpublic void load(Reader input) throws IOException, InvalidFileFormatException
load in interface PersistableIOExceptionInvalidFileFormatExceptionpublic void load(File input) throws IOException, InvalidFileFormatException
load in interface PersistableIOExceptionInvalidFileFormatExceptionpublic void load(URL input) throws IOException, InvalidFileFormatException
load in interface PersistableIOExceptionInvalidFileFormatExceptionpublic void store()
throws IOException
store in interface PersistableIOExceptionpublic void store(OutputStream output) throws IOException
store in interface PersistableIOExceptionpublic void store(Writer output) throws IOException
store in interface PersistableIOExceptionpublic void store(File output) throws IOException
store in interface PersistableIOExceptionprotected IniHandler newBuilder()
protected void store(IniHandler formatter, Profile.Section section)
protected void store(IniHandler formatter, Profile.Section section, String option, int index)
Copyright © 2001–2025. All rights reserved.