public interface Profile extends MultiMap<String,Profile.Section>, CommentedMap<String,Profile.Section>
Modifier and Type | Interface and Description |
---|---|
static interface |
Profile.Section |
Modifier and Type | Field and Description |
---|---|
static char |
PATH_SEPARATOR |
Modifier and Type | Method and 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)