Package org.ini4j
Interface Profile
-
- All Superinterfaces:
CommentedMap<java.lang.String,Profile.Section>,java.util.Map<java.lang.String,Profile.Section>,MultiMap<java.lang.String,Profile.Section>
- All Known Subinterfaces:
Registry
- All Known Implementing Classes:
BasicProfile,BasicRegistry,Ini,Reg,Wini
public interface Profile extends MultiMap<java.lang.String,Profile.Section>, CommentedMap<java.lang.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(java.lang.String sectionName)voidadd(java.lang.String sectionName, java.lang.String optionName, java.lang.Object value)<T> Tas(java.lang.Class<T> clazz)<T> Tas(java.lang.Class<T> clazz, java.lang.String prefix)java.lang.Stringfetch(java.lang.Object sectionName, java.lang.Object optionName)<T> Tfetch(java.lang.Object sectionName, java.lang.Object optionName, java.lang.Class<T> clazz)java.lang.Stringget(java.lang.Object sectionName, java.lang.Object optionName)<T> Tget(java.lang.Object sectionName, java.lang.Object optionName, java.lang.Class<T> clazz)java.lang.StringgetComment()java.lang.Stringput(java.lang.String sectionName, java.lang.String optionName, java.lang.Object value)booleanremove(java.lang.Object sectionName, java.lang.Object optionName)Profile.Sectionremove(Profile.Section section)voidsetComment(java.lang.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
java.lang.String getComment()
-
setComment
void setComment(java.lang.String value)
-
add
Profile.Section add(java.lang.String sectionName)
-
add
void add(java.lang.String sectionName, java.lang.String optionName, java.lang.Object value)
-
as
<T> T as(java.lang.Class<T> clazz)
-
as
<T> T as(java.lang.Class<T> clazz, java.lang.String prefix)
-
fetch
java.lang.String fetch(java.lang.Object sectionName, java.lang.Object optionName)
-
fetch
<T> T fetch(java.lang.Object sectionName, java.lang.Object optionName, java.lang.Class<T> clazz)
-
get
java.lang.String get(java.lang.Object sectionName, java.lang.Object optionName)
-
get
<T> T get(java.lang.Object sectionName, java.lang.Object optionName, java.lang.Class<T> clazz)
-
put
java.lang.String put(java.lang.String sectionName, java.lang.String optionName, java.lang.Object value)
-
remove
Profile.Section remove(Profile.Section section)
-
remove
boolean remove(java.lang.Object sectionName, java.lang.Object optionName)- Specified by:
removein interfacejava.util.Map<java.lang.String,Profile.Section>
-
-