Package org.ini4j
Class BasicRegistry
- java.lang.Object
-
- org.ini4j.BasicMultiMap<K,V>
-
- org.ini4j.CommonMultiMap<java.lang.String,Profile.Section>
-
- org.ini4j.BasicProfile
-
- org.ini4j.BasicRegistry
-
- All Implemented Interfaces:
java.io.Serializable,java.util.Map<java.lang.String,Profile.Section>,CommentedMap<java.lang.String,Profile.Section>,MultiMap<java.lang.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
java.util.Map.Entry<K extends java.lang.Object,V extends java.lang.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(java.lang.String name)Registry.Keyget(java.lang.Object key)Registry.Keyget(java.lang.Object key, int index)java.lang.StringgetVersion()Registry.Keyput(java.lang.String key, Profile.Section value)Registry.Keyput(java.lang.String key, Profile.Section value, int index)Registry.Keyremove(java.lang.Object key)Registry.Keyremove(java.lang.Object key, int index)Registry.Keyremove(Profile.Section section)voidsetVersion(java.lang.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 java.lang.String getVersion()
- Specified by:
getVersionin interfaceRegistry
-
setVersion
public void setVersion(java.lang.String value)
- Specified by:
setVersionin interfaceRegistry
-
add
public Registry.Key add(java.lang.String name)
- Specified by:
addin interfaceProfile- Overrides:
addin classBasicProfile
-
get
public Registry.Key get(java.lang.Object key)
- Specified by:
getin interfacejava.util.Map<java.lang.String,Profile.Section>- Specified by:
getin interfaceRegistry- Overrides:
getin classBasicMultiMap<java.lang.String,Profile.Section>
-
get
public Registry.Key get(java.lang.Object key, int index)
- Specified by:
getin interfaceMultiMap<java.lang.String,Profile.Section>- Specified by:
getin interfaceRegistry- Overrides:
getin classBasicMultiMap<java.lang.String,Profile.Section>
-
put
public Registry.Key put(java.lang.String key, Profile.Section value)
- Specified by:
putin interfacejava.util.Map<java.lang.String,Profile.Section>- Specified by:
putin interfaceRegistry- Overrides:
putin classBasicMultiMap<java.lang.String,Profile.Section>
-
put
public Registry.Key put(java.lang.String key, Profile.Section value, int index)
- Specified by:
putin interfaceMultiMap<java.lang.String,Profile.Section>- Specified by:
putin interfaceRegistry- Overrides:
putin classBasicMultiMap<java.lang.String,Profile.Section>
-
remove
public Registry.Key remove(Profile.Section section)
- Specified by:
removein interfaceProfile- Overrides:
removein classBasicProfile
-
remove
public Registry.Key remove(java.lang.Object key)
- Specified by:
removein interfacejava.util.Map<java.lang.String,Profile.Section>- Specified by:
removein interfaceRegistry- Overrides:
removein classCommonMultiMap<java.lang.String,Profile.Section>
-
remove
public Registry.Key remove(java.lang.Object key, int index)
- Specified by:
removein interfaceMultiMap<java.lang.String,Profile.Section>- Specified by:
removein interfaceRegistry- Overrides:
removein classCommonMultiMap<java.lang.String,Profile.Section>
-
-