[ini4j]

org.ini4j
Class OptionMapImpl

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

public class OptionMapImpl
extends MultiMapImpl<String,String>
implements OptionMap


Nested Class Summary
protected  class OptionMapImpl.Access
           
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Constructor Summary
OptionMapImpl()
           
 
Method Summary
<T> T
as(Class<T> clazz)
           
<T> T
as(Class<T> clazz, String keyPrefix)
           
 String fetch(Object key)
           
 String fetch(Object key, int index)
           
 void from(Object bean)
           
 void from(Object bean, String keyPrefix)
           
protected  BeanAccess getDefaultBeanAccess()
           
protected  BeanAccess newBeanAccess()
           
protected  BeanAccess newBeanAccess(String propertyNamePrefix)
           
protected  void resolve(StringBuilder buffer)
           
 void to(Object bean)
           
 void to(Object bean, String keyPrefix)
           
 
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 MultiMap
add, add, get, getAll, length, put, putAll, remove
 
Methods inherited from interface Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

OptionMapImpl

public OptionMapImpl()
Method Detail

as

public <T> T as(Class<T> clazz)
Specified by:
as in interface OptionMap

as

public <T> T as(Class<T> clazz,
                String keyPrefix)
Specified by:
as in interface OptionMap

fetch

public String fetch(Object key)
Specified by:
fetch in interface OptionMap

fetch

public String fetch(Object key,
                    int index)
Specified by:
fetch in interface OptionMap

from

public void from(Object bean)
Specified by:
from in interface OptionMap

from

public void from(Object bean,
                 String keyPrefix)
Specified by:
from in interface OptionMap

to

public void to(Object bean)
Specified by:
to in interface OptionMap

to

public void to(Object bean,
               String keyPrefix)
Specified by:
to in interface OptionMap

getDefaultBeanAccess

protected BeanAccess getDefaultBeanAccess()

newBeanAccess

protected BeanAccess newBeanAccess()

newBeanAccess

protected BeanAccess newBeanAccess(String propertyNamePrefix)

resolve

protected void resolve(StringBuilder buffer)

[ini4j]