org.ini4j
Class Ini
Object
AbstractMap<K,V>
HashMap<K,V>
LinkedHashMap<String,Ini.Section>
Ini
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Ini.Section>
public class Ini
- extends LinkedHashMap<String,Ini.Section>
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class AbstractMap |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Constructor Summary |
Ini()
|
Ini(InputStream input)
|
Ini(Reader input)
|
Ini(URL input)
|
Methods inherited from class LinkedHashMap |
clear, containsValue, get, removeEldestEntry |
Methods inherited from class HashMap |
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class AbstractMap |
equals, hashCode, toString |
Methods inherited from class Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
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
add
public Ini.Section add(String name)
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
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
storeToXML
public void storeToXML(OutputStream output)
throws IOException
- Throws:
IOException
storeToXML
public void storeToXML(Writer output)
throws IOException
- Throws:
IOException
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
to
public <T> T to(Class<T> clazz)
resolve
protected void resolve(StringBuilder buffer,
Ini.Section owner)