org.ini4j
Class BasicRegistry

Object
  extended by org.ini4j.BasicMultiMap<K,V>
      extended by org.ini4j.CommonMultiMap<String,Profile.Section>
          extended by org.ini4j.BasicProfile
              extended by 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 org.ini4j.Registry
Registry.Hive, Registry.Key, Registry.Type
 
Nested classes/interfaces inherited from interface org.ini4j.Profile
Profile.Section
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.ini4j.Registry
ESCAPE_CHAR, FILE_ENCODING, KEY_SEPARATOR, LINE_SEPARATOR, TYPE_SEPARATOR, VERSION
 
Fields inherited from interface org.ini4j.Profile
PATH_SEPARATOR
 
Constructor Summary
BasicRegistry()
           
 
Method Summary
 Registry.Key add(String name)
           
 Registry.Key get(Object key)
           
 Registry.Key get(Object key, int index)
           
 String getVersion()
           
 Registry.Key put(String key, Profile.Section value)
           
 Registry.Key put(String key, Profile.Section value, int index)
           
 Registry.Key remove(Object key)
           
 Registry.Key remove(Object key, int index)
           
 Registry.Key remove(Profile.Section section)
           
 void setVersion(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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ini4j.Profile
add, as, as, fetch, fetch, get, get, getComment, put, remove, setComment
 
Methods inherited from interface org.ini4j.MultiMap
add, add, getAll, length, putAll
 
Methods inherited from interface org.ini4j.CommentedMap
getComment, putComment, removeComment
 
Methods inherited from interface Map
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, putAll, size, values
 

Constructor Detail

BasicRegistry

public BasicRegistry()
Method Detail

getVersion

public String getVersion()
Specified by:
getVersion in interface Registry

setVersion

public void setVersion(String value)
Specified by:
setVersion in interface Registry

add

public Registry.Key add(String name)
Specified by:
add in interface Profile
Overrides:
add in class BasicProfile

get

public Registry.Key get(Object key)
Specified by:
get in interface Map<String,Profile.Section>
Specified by:
get in interface Registry
Overrides:
get in class BasicMultiMap<String,Profile.Section>

get

public Registry.Key get(Object key,
                        int index)
Specified by:
get in interface MultiMap<String,Profile.Section>
Specified by:
get in interface Registry
Overrides:
get in class BasicMultiMap<String,Profile.Section>

put

public Registry.Key put(String key,
                        Profile.Section value)
Specified by:
put in interface Map<String,Profile.Section>
Specified by:
put in interface Registry
Overrides:
put in class BasicMultiMap<String,Profile.Section>

put

public Registry.Key put(String key,
                        Profile.Section value,
                        int index)
Specified by:
put in interface MultiMap<String,Profile.Section>
Specified by:
put in interface Registry
Overrides:
put in class BasicMultiMap<String,Profile.Section>

remove

public Registry.Key remove(Profile.Section section)
Specified by:
remove in interface Profile
Overrides:
remove in class BasicProfile

remove

public Registry.Key remove(Object key)
Specified by:
remove in interface Map<String,Profile.Section>
Specified by:
remove in interface Registry
Overrides:
remove in class CommonMultiMap<String,Profile.Section>

remove

public Registry.Key remove(Object key,
                           int index)
Specified by:
remove in interface MultiMap<String,Profile.Section>
Specified by:
remove in interface Registry
Overrides:
remove in class CommonMultiMap<String,Profile.Section>


Copyright © 2011. All Rights Reserved.