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) |
protected void |
store(IniHandler formatter) |
protected void |
store(IniHandler formatter,
Profile.Section s) |
protected void |
store(IniHandler formatter,
Profile.Section section,
String option) |
protected void |
store(IniHandler formatter,
String comment) |
clear, getComment, getMeta, putAll, putComment, putMeta, remove, remove, removeComment, removeMeta, removeMetaadd, 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, removegetComment, 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 Profile.Section remove(Profile.Section section)
protected void store(IniHandler formatter)
protected void store(IniHandler formatter, Profile.Section s)
protected void store(IniHandler formatter, String comment)
protected void store(IniHandler formatter, Profile.Section section, String option)
Copyright © 2017. All rights reserved.