public class BasicProfile extends CommonMultiMap<String,Profile.Section> implements Profile
Profile.SectionPATH_SEPARATOR| Constructor and Description |
|---|
BasicProfile() |
BasicProfile(boolean treeMode,
boolean propertyFirstUpper) |
| Modifier and Type | Method and Description |
|---|---|
Profile.Section |
add(String name) |
void |
add(String section,
String option,
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) |
clear, getComment, putAll, putComment, remove, remove, removeCommentadd, add, containsKey, containsValue, entrySet, get, get, getAll, isEmpty, keySet, length, put, put, putAll, size, toString, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComment, putComment, removeCommentpublic BasicProfile()
public BasicProfile(boolean treeMode, boolean propertyFirstUpper)
public String getComment()
getComment in interface Profilepublic void setComment(String value)
setComment in interface Profilepublic Profile.Section add(String name)
public void add(String section, String option, Object value)
public String fetch(Object sectionName, Object optionName)
public <T> T fetch(Object sectionName, Object optionName, Class<T> clazz)
public <T> T get(Object sectionName, Object optionName, Class<T> clazz)
public String put(String sectionName, String optionName, Object value)
public Profile.Section remove(Profile.Section section)