org.ini4j
Interface Profile

All Superinterfaces:
CommentedMap<String,Profile.Section>, Map<String,Profile.Section>, MultiMap<String,Profile.Section>
All Known Subinterfaces:
Registry
All Known Implementing Classes:
BasicProfile, BasicRegistry, Ini, Reg, Wini

public interface Profile
extends MultiMap<String,Profile.Section>, CommentedMap<String,Profile.Section>


Nested Class Summary
static interface Profile.Section
           
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Field Summary
static char PATH_SEPARATOR
           
 
Method Summary
 Profile.Section add(String sectionName)
           
 void add(String sectionName, String optionName, Object value)
           
<T> T
as(Class<T> clazz)
           
<T> T
as(Class<T> clazz, String prefix)
           
 String fetch(Object sectionName, Object optionName)
           
<T> T
fetch(Object sectionName, Object optionName, Class<T> clazz)
           
 String get(Object sectionName, Object optionName)
           
<T> T
get(Object sectionName, Object optionName, Class<T> clazz)
           
 String getComment()
           
 String put(String sectionName, String optionName, Object value)
           
 String remove(Object sectionName, Object optionName)
           
 Profile.Section remove(Profile.Section section)
           
 void setComment(String value)
           
 
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
 

Field Detail

PATH_SEPARATOR

static final char PATH_SEPARATOR
See Also:
Constant Field Values
Method Detail

getComment

String getComment()

setComment

void setComment(String value)

add

Profile.Section add(String sectionName)

add

void add(String sectionName,
         String optionName,
         Object value)

as

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

as

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

fetch

String fetch(Object sectionName,
             Object optionName)

fetch

<T> T fetch(Object sectionName,
            Object optionName,
            Class<T> clazz)

get

String get(Object sectionName,
           Object optionName)

get

<T> T get(Object sectionName,
          Object optionName,
          Class<T> clazz)

put

String put(String sectionName,
           String optionName,
           Object value)

remove

Profile.Section remove(Profile.Section section)

remove

String remove(Object sectionName,
              Object optionName)


Copyright © 2011. All Rights Reserved.