[ini4j]

org.ini4j
Class Ini

Object
  extended by AbstractMap<K,V>
      extended by HashMap<K,V>
          extended by LinkedHashMap<String,Ini.Section>
              extended by Ini
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Ini.Section>

public class Ini
extends LinkedHashMap<String,Ini.Section>

See Also:
Serialized Form

Nested Class Summary
 class Ini.Section
           
 
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)
           
 
Method Summary
 Ini.Section add(String name)
           
 void load(InputStream input)
           
 void load(Reader input)
           
 void load(URL input)
           
 void loadFromXML(InputStream input)
           
 void loadFromXML(Reader input)
           
 void loadFromXML(URL input)
           
 Ini.Section remove(Ini.Section section)
           
protected  void resolve(StringBuilder buffer, Ini.Section owner)
           
 void store(OutputStream output)
           
 void store(Writer output)
           
 void storeToXML(OutputStream output)
           
 void storeToXML(Writer output)
           
<T> T
to(Class<T> clazz)
           
 
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
 

Constructor Detail

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
Method Detail

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)

[ini4j]