org.ini4j
Class Ini

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<java.lang.String,Ini.Section>
              extended by 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

Nested Class Summary
 class Ini.Section
           
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
Ini()
           
Ini(java.io.InputStream input)
           
Ini(java.io.Reader input)
           
Ini(java.net.URL input)
           
 
Method Summary
 Ini.Section add(java.lang.String name)
           
 void load(java.io.InputStream input)
           
 void load(java.io.Reader input)
           
 void load(java.net.URL input)
           
 void loadFromXML(java.io.InputStream input)
           
 void loadFromXML(java.io.Reader input)
           
 void loadFromXML(java.net.URL input)
           
 Ini.Section remove(Ini.Section section)
           
protected  void resolve(java.lang.StringBuilder buffer, Ini.Section owner)
           
 void store(java.io.OutputStream output)
           
 void store(java.io.Writer output)
           
 void storeToXML(java.io.OutputStream output)
           
 void storeToXML(java.io.Writer output)
           
<T> T
to(java.lang.Class<T> clazz)
           
 
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
 

Constructor Detail

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

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)


Copyright © {inceptionYear}-2008 null. All Rights Reserved.