[ini4j]

org.ini4j.addon
Class ConfigParser.PyIni

Object
  extended by MultiMapImpl<String,Ini.Section>
      extended by Ini
          extended by ConfigParser.PyIni
All Implemented Interfaces:
Map<String,Ini.Section>, MultiMap<String,Ini.Section>
Enclosing class:
ConfigParser

protected static class ConfigParser.PyIni
extends Ini


Nested Class Summary
 
Nested classes/interfaces inherited from class Ini
Ini.Section
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Field Summary
protected static String DEFAULT_SECTION_NAME
           
 
Constructor Summary
ConfigParser.PyIni(Map<String,String> defaults)
           
 
Method Summary
 Ini.Section add(String name)
           
protected  String fetch(Ini.Section section, String optionName, Map<String,String> variables)
           
 String fetch(String sectionName, String optionName, Map<String,String> variables)
           
 Map<String,String> getDefaults()
           
protected  Ini.Section getDefaultSection()
           
protected  void resolve(StringBuilder buffer, Ini.Section owner, Map<String,String> vars)
           
 void setConfig(Config value)
           
protected  void store(IniHandler formatter)
           
protected  void store(IniHandler formatter, Ini.Section section)
           
 
Methods inherited from class Ini
as, getConfig, load, load, load, loadFromXML, loadFromXML, loadFromXML, remove, resolve, store, store, storeToXML, storeToXML, to
 
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
 

Field Detail

DEFAULT_SECTION_NAME

protected static final String DEFAULT_SECTION_NAME
See Also:
Constant Field Values
Constructor Detail

ConfigParser.PyIni

public ConfigParser.PyIni(Map<String,String> defaults)
Method Detail

setConfig

public void setConfig(Config value)
Overrides:
setConfig in class Ini

getDefaults

public Map<String,String> getDefaults()

add

public Ini.Section add(String name)
Overrides:
add in class Ini

fetch

public String fetch(String sectionName,
                    String optionName,
                    Map<String,String> variables)
             throws ConfigParser.InterpolationMissingOptionException
Throws:
ConfigParser.InterpolationMissingOptionException

getDefaultSection

protected Ini.Section getDefaultSection()

fetch

protected String fetch(Ini.Section section,
                       String optionName,
                       Map<String,String> variables)
                throws ConfigParser.InterpolationMissingOptionException
Throws:
ConfigParser.InterpolationMissingOptionException

resolve

protected void resolve(StringBuilder buffer,
                       Ini.Section owner,
                       Map<String,String> vars)
                throws ConfigParser.InterpolationMissingOptionException
Throws:
ConfigParser.InterpolationMissingOptionException

store

protected void store(IniHandler formatter)
              throws IOException
Overrides:
store in class Ini
Throws:
IOException

store

protected void store(IniHandler formatter,
                     Ini.Section section)
              throws IOException
Throws:
IOException

[ini4j]