org.ini4j
Class Ini
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<java.lang.String,Ini.Section>
org.ini4j.Ini
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,Ini.Section>
-
public class Ini
- extends java.util.LinkedHashMap<java.lang.String,Ini.Section>
- See Also:
- Serialized Form
Constructor Summary |
Ini()
|
Ini(java.io.InputStream input)
|
Ini(java.io.Reader input)
|
Ini(java.net.URL input)
|
Methods inherited from class java.util.LinkedHashMap |
clear, containsValue, get, removeEldestEntry |
Methods inherited from class java.util.HashMap |
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
OPERATOR
private static final java.lang.String OPERATOR
- See Also:
- Constant Field Values
SUBST_CHAR
private static final char SUBST_CHAR
- See Also:
- Constant Field Values
SUBST_BEGIN
private static final java.lang.String SUBST_BEGIN
- See Also:
- Constant Field Values
SUBST_BEGIN_LEN
private static final int SUBST_BEGIN_LEN
SUBST_END
private static final java.lang.String SUBST_END
- See Also:
- Constant Field Values
SUBST_END_LEN
private static final int SUBST_END_LEN
SUBST_ESCAPE
private static final char SUBST_ESCAPE
- See Also:
- Constant Field Values
SUBST_SEPARATOR
private static final char SUBST_SEPARATOR
- See Also:
- Constant Field Values
SUBST_PROPERTY
private static final java.lang.String SUBST_PROPERTY
- See Also:
- Constant Field Values
SUBST_ENVIRONMENT
private static final java.lang.String SUBST_ENVIRONMENT
- See Also:
- Constant Field Values
_beans
private java.util.Map<java.lang.Class,java.lang.Object> _beans
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
add
public Ini.Section add(java.lang.String name)
-
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
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
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
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
to
public <T> T to(java.lang.Class<T> clazz)
-
resolve
protected void resolve(java.lang.StringBuilder buffer,
Ini.Section owner)
-