org.ini4j
Class OptionMapImpl

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

public class OptionMapImpl
extends MultiMapImpl<java.lang.String,java.lang.String>
implements OptionMap


Nested Class Summary
protected  class OptionMapImpl.Access
           
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
OptionMapImpl()
           
 
Method Summary
<T> T
as(java.lang.Class<T> clazz)
           
<T> T
as(java.lang.Class<T> clazz, java.lang.String keyPrefix)
           
 java.lang.String fetch(java.lang.Object key)
           
 java.lang.String fetch(java.lang.Object key, int index)
           
 void from(java.lang.Object bean)
           
 void from(java.lang.Object bean, java.lang.String keyPrefix)
           
protected  BeanAccess getDefaultBeanAccess()
           
protected  BeanAccess newBeanAccess()
           
protected  BeanAccess newBeanAccess(java.lang.String propertyNamePrefix)
           
protected  void resolve(java.lang.StringBuilder buffer)
           
 void to(java.lang.Object bean)
           
 void to(java.lang.Object bean, java.lang.String keyPrefix)
           
 
Methods inherited from class org.ini4j.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ini4j.MultiMap
add, add, get, getAll, length, put, putAll, remove
 
Methods inherited from interface java.util.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(java.lang.Class<T> clazz)
Specified by:
as in interface OptionMap

as

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

fetch

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

fetch

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

from

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

from

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

to

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

to

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

getDefaultBeanAccess

protected BeanAccess getDefaultBeanAccess()

newBeanAccess

protected BeanAccess newBeanAccess()

newBeanAccess

protected BeanAccess newBeanAccess(java.lang.String propertyNamePrefix)

resolve

protected void resolve(java.lang.StringBuilder buffer)


Copyright © 2011. All Rights Reserved.