org.ini4j.addon
Class ConfigParser.PyIni
Object
MultiMapImpl<String,Ini.Section>
Ini
ConfigParser.PyIni
- All Implemented Interfaces:
- Map<String,Ini.Section>, MultiMap<String,Ini.Section>
- Enclosing class:
- ConfigParser
protected static class ConfigParser.PyIni
- extends Ini
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 |
DEFAULT_SECTION_NAME
protected static final String DEFAULT_SECTION_NAME
- See Also:
- Constant Field Values
ConfigParser.PyIni
public ConfigParser.PyIni(Map<String,String> defaults)
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