org.ini4j
Interface OptionMap

All Superinterfaces:
CommentedMap<String,String>, Map<String,String>, MultiMap<String,String>
All Known Subinterfaces:
Profile.Section, Registry.Key
All Known Implementing Classes:
BasicOptionMap, Options

public interface OptionMap
extends MultiMap<String,String>, CommentedMap<String,String>


Nested Class Summary
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Method Summary
 void add(String key, Object value)
           
 void add(String key, Object value, int index)
           
<T> T
as(Class<T> clazz)
           
<T> T
as(Class<T> clazz, String keyPrefix)
           
 String fetch(Object key)
           
<T> T
fetch(Object key, Class<T> clazz)
           
<T> T
fetch(Object key, Class<T> clazz, T defaultValue)
           
 String fetch(Object key, int index)
           
<T> T
fetch(Object key, int index, Class<T> clazz)
           
 String fetch(Object key, String defaultValue)
           
<T> T
fetchAll(Object key, Class<T> clazz)
           
 void from(Object bean)
           
 void from(Object bean, String keyPrefix)
           
<T> T
get(Object key, Class<T> clazz)
           
<T> T
get(Object key, Class<T> clazz, T defaultValue)
           
<T> T
get(Object key, int index, Class<T> clazz)
           
 String get(Object key, String defaultValue)
           
<T> T
getAll(Object key, Class<T> clazz)
           
 String put(String key, Object value)
           
 String put(String key, Object value, int index)
           
 void putAll(String key, Object value)
           
 void to(Object bean)
           
 void to(Object bean, String keyPrefix)
           
 
Methods inherited from interface org.ini4j.MultiMap
add, add, get, getAll, length, put, putAll, remove
 
Methods inherited from interface org.ini4j.CommentedMap
getComment, putComment, removeComment
 
Methods inherited from interface Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getAll

<T> T getAll(Object key,
             Class<T> clazz)

add

void add(String key,
         Object value)

add

void add(String key,
         Object value,
         int index)

as

<T> T as(Class<T> clazz)

as

<T> T as(Class<T> clazz,
         String keyPrefix)

fetch

String fetch(Object key)

fetch

String fetch(Object key,
             String defaultValue)

fetch

String fetch(Object key,
             int index)

fetch

<T> T fetch(Object key,
            Class<T> clazz)

fetch

<T> T fetch(Object key,
            Class<T> clazz,
            T defaultValue)

fetch

<T> T fetch(Object key,
            int index,
            Class<T> clazz)

fetchAll

<T> T fetchAll(Object key,
               Class<T> clazz)

from

void from(Object bean)

from

void from(Object bean,
          String keyPrefix)

get

String get(Object key,
           String defaultValue)

get

<T> T get(Object key,
          Class<T> clazz)

get

<T> T get(Object key,
          Class<T> clazz,
          T defaultValue)

get

<T> T get(Object key,
          int index,
          Class<T> clazz)

put

String put(String key,
           Object value)

put

String put(String key,
           Object value,
           int index)

putAll

void putAll(String key,
            Object value)

to

void to(Object bean)

to

void to(Object bean,
        String keyPrefix)


Copyright © 2011. All Rights Reserved.