Package org.ini4j
Interface Profile
-
- All Superinterfaces:
CommentedMap<String,Profile.Section>,Map<String,Profile.Section>,MultiMap<String,Profile.Section>
- All Known Subinterfaces:
Registry
- All Known Implementing Classes:
BasicProfile,BasicRegistry,Ini,Reg,Wini
public interface Profile extends MultiMap<String,Profile.Section>, CommentedMap<String,Profile.Section>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceProfile.Section
-
Field Summary
Fields Modifier and Type Field Description static charPATH_SEPARATOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Profile.Sectionadd(String sectionName)voidadd(String sectionName, String optionName, Object value)<T> Tas(Class<T> clazz)<T> Tas(Class<T> clazz, String prefix)Stringfetch(Object sectionName, Object optionName)<T> Tfetch(Object sectionName, Object optionName, Class<T> clazz)Stringget(Object sectionName, Object optionName)<T> Tget(Object sectionName, Object optionName, Class<T> clazz)StringgetComment()Stringput(String sectionName, String optionName, Object value)booleanremove(Object sectionName, Object optionName)Profile.Sectionremove(Profile.Section section)voidsetComment(String value)-
Methods inherited from interface org.ini4j.CommentedMap
getComment, putComment, removeComment
-
-
-
-
Field Detail
-
PATH_SEPARATOR
static final char PATH_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getComment
String getComment()
-
setComment
void setComment(String value)
-
add
Profile.Section add(String sectionName)
-
add
void add(String sectionName, String optionName, Object value)
-
as
<T> T as(Class<T> clazz)
-
as
<T> T as(Class<T> clazz, String prefix)
-
fetch
String fetch(Object sectionName, Object optionName)
-
fetch
<T> T fetch(Object sectionName, Object optionName, Class<T> clazz)
-
get
String get(Object sectionName, Object optionName)
-
get
<T> T get(Object sectionName, Object optionName, Class<T> clazz)
-
put
String put(String sectionName, String optionName, Object value)
-
remove
Profile.Section remove(Profile.Section section)
-
remove
boolean remove(Object sectionName, Object optionName)- Specified by:
removein interfaceMap<String,Profile.Section>
-
-