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 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(String sectionName)
void
add(String sectionName, String optionName, 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)
boolean
remove(Object sectionName, Object optionName)
Profile.Section
remove(Profile.Section section)
void
setComment(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:
remove
in interfaceMap<String,Profile.Section>
-
-