org.ini4j
Class OptionMapImpl
Object
MultiMapImpl<String,String>
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
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 |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
OptionMapImpl
public OptionMapImpl()
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)