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 classes/interfaces inherited from interface Map |
Map.Entry<K,V> |
Method Summary |
Profile.Section |
add(String sectionName)
|
void |
add(String sectionName,
String optionName,
Object value)
|
|
as(Class<T> clazz)
|
|
as(Class<T> clazz,
String prefix)
|
String |
fetch(Object sectionName,
Object optionName)
|
|
fetch(Object sectionName,
Object optionName,
Class<T> clazz)
|
String |
get(Object sectionName,
Object optionName)
|
|
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 Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
PATH_SEPARATOR
static final char PATH_SEPARATOR
- See Also:
- Constant Field Values
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.