CommentedMap<String,Profile.Section>
, Map<String,Profile.Section>
, MultiMap<String,Profile.Section>
Registry
BasicProfile
, BasicRegistry
, Ini
, Reg
, Wini
public interface Profile extends MultiMap<String,Profile.Section>, CommentedMap<String,Profile.Section>
Modifier and Type | Interface | Description |
---|---|---|
static interface |
Profile.Section |
Modifier and Type | Field | Description |
---|---|---|
static char |
PATH_SEPARATOR |
Modifier and Type | Method | Description |
---|---|---|
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) |
|
boolean |
remove(Object sectionName,
Object optionName) |
|
Profile.Section |
remove(Profile.Section section) |
|
void |
setComment(String value) |
getComment, putComment, removeComment
static final char PATH_SEPARATOR
String getComment()
void setComment(String value)
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 put(String sectionName, String optionName, Object value)
Profile.Section remove(Profile.Section section)
boolean remove(Object sectionName, Object optionName)
remove
in interface Map<String,Profile.Section>