public class BasicProfile extends CommonMultiMap<String,Profile.Section> implements Profile
Profile.Section
PATH_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) |
boolean |
remove(Object sectionName,
Object optionName) |
Profile.Section |
remove(Profile.Section section) |
void |
setComment(String value) |
clear, getComment, putAll, putComment, remove, remove, removeComment
add, add, containsKey, containsValue, entrySet, get, get, getAll, isEmpty, keySet, length, put, put, putAll, size, toString, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, add, get, getAll, length, put, putAll, remove
getComment, putComment, removeComment
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, values
public BasicProfile()
public BasicProfile(boolean treeMode, boolean propertyFirstUpper)
public String getComment()
getComment
in interface Profile
public void setComment(String value)
setComment
in interface Profile
public Profile.Section add(String name)
public Profile.Section remove(Profile.Section section)
Copyright © 2015. All rights reserved.