org.ini4j
Class Ini
Object
MultiMapImpl<String,Ini.Section>
Ini
- All Implemented Interfaces:
- Map<String,Ini.Section>, MultiMap<String,Ini.Section>
- Direct Known Subclasses:
- ConfigParser.PyIni
public class Ini
- extends MultiMapImpl<String,Ini.Section>
Methods inherited from class MultiMapImpl |
add, add, clear, containsKey, containsValue, entrySet, get, get, getAll, isEmpty, keySet, length, put, put, putAll, putAll, remove, remove, size, values |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ini
public Ini()
Ini
public Ini(Reader input)
throws IOException,
InvalidIniFormatException
- Throws:
IOException
InvalidIniFormatException
Ini
public Ini(InputStream input)
throws IOException,
InvalidIniFormatException
- Throws:
IOException
InvalidIniFormatException
Ini
public Ini(URL input)
throws IOException,
InvalidIniFormatException
- Throws:
IOException
InvalidIniFormatException
setConfig
public void setConfig(Config value)
add
public Ini.Section add(String name)
as
public <T> T as(Class<T> clazz)
load
public void load(InputStream input)
throws IOException,
InvalidIniFormatException
- Throws:
IOException
InvalidIniFormatException
load
public void load(Reader input)
throws IOException,
InvalidIniFormatException
- Throws:
IOException
InvalidIniFormatException
load
public void load(URL input)
throws IOException,
InvalidIniFormatException
- Throws:
IOException
InvalidIniFormatException
loadFromXML
public void loadFromXML(InputStream input)
throws IOException,
InvalidIniFormatException
- Throws:
IOException
InvalidIniFormatException
loadFromXML
public void loadFromXML(Reader input)
throws IOException,
InvalidIniFormatException
- Throws:
IOException
InvalidIniFormatException
loadFromXML
public void loadFromXML(URL input)
throws IOException,
InvalidIniFormatException
- Throws:
IOException
InvalidIniFormatException
remove
public Ini.Section remove(Ini.Section section)
store
public void store(OutputStream output)
throws IOException
- Throws:
IOException
store
public void store(Writer output)
throws IOException
- Throws:
IOException
storeToXML
public void storeToXML(OutputStream output)
throws IOException
- Throws:
IOException
storeToXML
public void storeToXML(Writer output)
throws IOException
- Throws:
IOException
to
@Deprecated
public <T> T to(Class<T> clazz)
- Deprecated.
getConfig
protected Config getConfig()
resolve
protected void resolve(StringBuilder buffer,
Ini.Section owner)
store
protected void store(IniHandler formatter)
throws IOException
- Throws:
IOException