Package org.ini4j
Class BasicRegistry
- Object
-
- org.ini4j.BasicMultiMap<K,V>
-
- org.ini4j.CommonMultiMap<String,Profile.Section>
-
- org.ini4j.BasicProfile
-
- org.ini4j.BasicRegistry
-
- All Implemented Interfaces:
Serializable,Map<String,Profile.Section>,CommentedMap<String,Profile.Section>,MultiMap<String,Profile.Section>,Profile,Registry
- Direct Known Subclasses:
Reg
public class BasicRegistry extends BasicProfile implements Registry
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from interface org.ini4j.Profile
Profile.Section
-
Nested classes/interfaces inherited from interface org.ini4j.Registry
Registry.Hive, Registry.Key, Registry.Type
-
-
Field Summary
-
Fields inherited from interface org.ini4j.Profile
PATH_SEPARATOR
-
Fields inherited from interface org.ini4j.Registry
ESCAPE_CHAR, FILE_ENCODING, KEY_SEPARATOR, LINE_SEPARATOR, TYPE_SEPARATOR, VERSION
-
-
Constructor Summary
Constructors Constructor Description BasicRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Registry.Keyadd(String name)Registry.Keyget(Object key)Registry.Keyget(Object key, int index)StringgetVersion()Registry.Keyput(String key, Profile.Section value)Registry.Keyput(String key, Profile.Section value, int index)Registry.Keyremove(Object key)Registry.Keyremove(Object key, int index)Registry.Keyremove(Profile.Section section)voidsetVersion(String value)-
Methods inherited from class org.ini4j.BasicProfile
add, as, as, fetch, fetch, get, get, getComment, put, remove, setComment
-
Methods inherited from class org.ini4j.CommonMultiMap
clear, getComment, putAll, putComment, removeComment
-
Methods inherited from class org.ini4j.BasicMultiMap
add, add, containsKey, containsValue, entrySet, getAll, isEmpty, keySet, length, putAll, size, toString, values
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ini4j.CommentedMap
getComment, putComment, removeComment
-
-
-
-
Method Detail
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceRegistry
-
setVersion
public void setVersion(String value)
- Specified by:
setVersionin interfaceRegistry
-
add
public Registry.Key add(String name)
- Specified by:
addin interfaceProfile- Overrides:
addin classBasicProfile
-
get
public Registry.Key get(Object key)
- Specified by:
getin interfaceMap<String,Profile.Section>- Specified by:
getin interfaceRegistry- Overrides:
getin classBasicMultiMap<String,Profile.Section>
-
get
public Registry.Key get(Object key, int index)
- Specified by:
getin interfaceMultiMap<String,Profile.Section>- Specified by:
getin interfaceRegistry- Overrides:
getin classBasicMultiMap<String,Profile.Section>
-
put
public Registry.Key put(String key, Profile.Section value)
- Specified by:
putin interfaceMap<String,Profile.Section>- Specified by:
putin interfaceRegistry- Overrides:
putin classBasicMultiMap<String,Profile.Section>
-
put
public Registry.Key put(String key, Profile.Section value, int index)
- Specified by:
putin interfaceMultiMap<String,Profile.Section>- Specified by:
putin interfaceRegistry- Overrides:
putin classBasicMultiMap<String,Profile.Section>
-
remove
public Registry.Key remove(Profile.Section section)
- Specified by:
removein interfaceProfile- Overrides:
removein classBasicProfile
-
remove
public Registry.Key remove(Object key)
- Specified by:
removein interfaceMap<String,Profile.Section>- Specified by:
removein interfaceRegistry- Overrides:
removein classCommonMultiMap<String,Profile.Section>
-
remove
public Registry.Key remove(Object key, int index)
- Specified by:
removein interfaceMultiMap<String,Profile.Section>- Specified by:
removein interfaceRegistry- Overrides:
removein classCommonMultiMap<String,Profile.Section>
-
-