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 interface
Profile.Section
-
Field Summary
Fields Modifier and Type Field Description static char
PATH_SEPARATOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Profile.Section
add(java.lang.String sectionName)
void
add(java.lang.String sectionName, java.lang.String optionName, java.lang.Object value)
<T> T
as(java.lang.Class<T> clazz)
<T> T
as(java.lang.Class<T> clazz, java.lang.String prefix)
java.lang.String
fetch(java.lang.Object sectionName, java.lang.Object optionName)
<T> T
fetch(java.lang.Object sectionName, java.lang.Object optionName, java.lang.Class<T> clazz)
java.lang.String
get(java.lang.Object sectionName, java.lang.Object optionName)
<T> T
get(java.lang.Object sectionName, java.lang.Object optionName, java.lang.Class<T> clazz)
java.lang.String
getComment()
java.lang.String
put(java.lang.String sectionName, java.lang.String optionName, java.lang.Object value)
boolean
remove(java.lang.Object sectionName, java.lang.Object optionName)
Profile.Section
remove(Profile.Section section)
void
setComment(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:
remove
in interfacejava.util.Map<java.lang.String,Profile.Section>
-
-