org.ini4j
Class Ini
java.lang.Object
org.ini4j.MultiMapImpl<java.lang.String,Ini.Section>
org.ini4j.Ini
- All Implemented Interfaces:
- java.util.Map<java.lang.String,Ini.Section>, MultiMap<java.lang.String,Ini.Section>
- Direct Known Subclasses:
- ConfigParser.PyIni
public class Ini
- extends MultiMapImpl<java.lang.String,Ini.Section>
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Constructor Summary |
Ini()
|
Ini(java.io.InputStream input)
|
Ini(java.io.Reader input)
|
Ini(java.net.URL input)
|
Methods inherited from class org.ini4j.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Ini
public Ini()
Ini
public Ini(java.io.Reader input)
throws java.io.IOException,
InvalidIniFormatException
- Throws:
java.io.IOException
InvalidIniFormatException
Ini
public Ini(java.io.InputStream input)
throws java.io.IOException,
InvalidIniFormatException
- Throws:
java.io.IOException
InvalidIniFormatException
Ini
public Ini(java.net.URL input)
throws java.io.IOException,
InvalidIniFormatException
- Throws:
java.io.IOException
InvalidIniFormatException
setConfig
public void setConfig(Config value)
add
public Ini.Section add(java.lang.String name)
as
public <T> T as(java.lang.Class<T> clazz)
load
public void load(java.io.InputStream input)
throws java.io.IOException,
InvalidIniFormatException
- Throws:
java.io.IOException
InvalidIniFormatException
load
public void load(java.io.Reader input)
throws java.io.IOException,
InvalidIniFormatException
- Throws:
java.io.IOException
InvalidIniFormatException
load
public void load(java.net.URL input)
throws java.io.IOException,
InvalidIniFormatException
- Throws:
java.io.IOException
InvalidIniFormatException
loadFromXML
public void loadFromXML(java.io.InputStream input)
throws java.io.IOException,
InvalidIniFormatException
- Throws:
java.io.IOException
InvalidIniFormatException
loadFromXML
public void loadFromXML(java.io.Reader input)
throws java.io.IOException,
InvalidIniFormatException
- Throws:
java.io.IOException
InvalidIniFormatException
loadFromXML
public void loadFromXML(java.net.URL input)
throws java.io.IOException,
InvalidIniFormatException
- Throws:
java.io.IOException
InvalidIniFormatException
remove
public Ini.Section remove(Ini.Section section)
store
public void store(java.io.OutputStream output)
throws java.io.IOException
- Throws:
java.io.IOException
store
public void store(java.io.Writer output)
throws java.io.IOException
- Throws:
java.io.IOException
storeToXML
public void storeToXML(java.io.OutputStream output)
throws java.io.IOException
- Throws:
java.io.IOException
storeToXML
public void storeToXML(java.io.Writer output)
throws java.io.IOException
- Throws:
java.io.IOException
to
@Deprecated
public <T> T to(java.lang.Class<T> clazz)
- Deprecated.
getConfig
protected Config getConfig()
resolve
protected void resolve(java.lang.StringBuilder buffer,
Ini.Section owner)
store
protected void store(IniHandler formatter)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.