Map<String,Profile.Section>, CommentedMap<String,Profile.Section>, MultiMap<String,Profile.Section>, ProfileBasicRegistry, Inipublic class BasicProfile extends CommonMultiMap<String,Profile.Section> implements Profile
Map.Entry<K extends Object,V extends Object>Profile.SectionPATH_SEPARATOR| Constructor | Description |
|---|---|
BasicProfile() |
|
BasicProfile(boolean treeMode,
boolean propertyFirstUpper) |
| Modifier and Type | Method | 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) |
|
boolean |
remove(Object sectionName,
Object optionName) |
|
Profile.Section |
remove(Profile.Section section) |
|
void |
setComment(String value) |
add, add, containsKey, containsValue, entrySet, get, get, getAll, isEmpty, keySet, length, put, put, putAll, size, toString, valuesgetComment, putComment, removeCommentclear, getComment, putAll, putComment, remove, remove, removeCommentclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, valuespublic 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 String get(Object sectionName, Object optionName)
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)
public boolean remove(Object sectionName, Object optionName)
remove in interface Map<String,Profile.Section>remove in interface Profile