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) |
List<String> |
getFooterComment() |
List<String> |
getHeaderComment() |
String |
put(String sectionName,
String optionName,
Object value) |
Profile.Section |
remove(Profile.Section section) |
String |
removeOptionFromSection(Object sectionName,
Object optionName) |
void |
setFooterComment(List<String> value) |
void |
setHeaderComment(List<String> value) |
addEmptyLine, clear, getComment, getNewLineCount, 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, waitadd, add, get, getAll, length, put, putAll, removeaddEmptyLine, getComment, getNewLineCount, putComment, removeCommentclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic BasicProfile()
public BasicProfile(boolean treeMode,
boolean propertyFirstUpper)
public List<String> getHeaderComment()
getHeaderComment in interface Profilepublic void setHeaderComment(List<String> value)
setHeaderComment in interface Profilepublic List<String> getFooterComment()
getFooterComment in interface Profilepublic void setFooterComment(List<String> value)
setFooterComment in interface Profilepublic Profile.Section add(String name)
public Profile.Section remove(Profile.Section section)
public String removeOptionFromSection(Object sectionName, Object optionName)
removeOptionFromSection in interface ProfileCopyright © 2001–2025. All rights reserved.