[ini4j]

org.ini4j
Class Ini

Object
  extended by MultiMapImpl<String,Ini.Section>
      extended by Ini
All Implemented Interfaces:
Map<String,Ini.Section>, MultiMap<String,Ini.Section>
Direct Known Subclasses:
ConfigParser.PyIni

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


Nested Class Summary
 class Ini.Section
           
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Constructor Summary
Ini()
           
Ini(InputStream input)
           
Ini(Reader input)
           
Ini(URL input)
           
 
Method Summary
 Ini.Section add(String name)
           
<T> T
as(Class<T> clazz)
           
protected  Config getConfig()
           
 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 setConfig(Config value)
           
protected  void store(IniHandler formatter)
           
 void store(OutputStream output)
           
 void store(Writer output)
           
 void storeToXML(OutputStream output)
           
 void storeToXML(Writer output)
           
<T> T
to(Class<T> clazz)
          Deprecated. 
 
Methods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Map
equals, hashCode
 

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

setConfig

public void setConfig(Config value)

add

public Ini.Section add(String name)

as

public <T> T as(Class<T> clazz)

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

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

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

storeToXML

public void storeToXML(OutputStream output)
                throws IOException
Throws:
IOException

storeToXML

public void storeToXML(Writer output)
                throws IOException
Throws:
IOException

to

@Deprecated
public <T> T to(Class<T> clazz)
Deprecated. 


getConfig

protected Config getConfig()

resolve

protected void resolve(StringBuilder buffer,
                       Ini.Section owner)

store

protected void store(IniHandler formatter)
              throws IOException
Throws:
IOException

[ini4j]