Package org.ini4j
Class Reg
- All Implemented Interfaces:
Serializable
,Map<String,
,Profile.Section> CommentedMap<String,
,Profile.Section> Configurable
,MultiMap<String,
,Profile.Section> Persistable
,Profile
,Registry
- See Also:
-
Nested Class Summary
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
FieldsFields 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 -
Method Summary
Modifier and TypeMethodDescriptiongetFile()
static boolean
void
load()
void
void
load
(InputStream input) void
void
protected IniHandler
void
void
void
void
store()
void
void
store
(OutputStream output) void
void
write()
Methods inherited from class org.ini4j.BasicRegistry
add, get, get, getVersion, put, put, remove, remove, remove, setVersion
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
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, replace, replace, replaceAll, size, values
Methods inherited from interface org.ini4j.Profile
add, add, as, as, fetch, fetch, get, get, getComment, put, remove, remove, setComment
Methods inherited from interface org.ini4j.Registry
get, get, getVersion, put, put, remove, remove, setVersion
-
Field Details
-
DEFAULT_SUFFIX
- See Also:
-
TMP_PREFIX
- See Also:
-
-
Constructor Details
-
Reg
public Reg() -
Reg
- Throws:
IOException
-
Reg
-
Reg
-
Reg
-
Reg
-
-
Method Details
-
isWindows
public static boolean isWindows() -
getConfig
- Specified by:
getConfig
in interfaceConfigurable
-
setConfig
- Specified by:
setConfig
in interfaceConfigurable
-
getFile
- Specified by:
getFile
in interfacePersistable
-
setFile
- Specified by:
setFile
in interfacePersistable
-
load
- Specified by:
load
in interfacePersistable
- Throws:
IOException
InvalidFileFormatException
-
load
- Specified by:
load
in interfacePersistable
- Throws:
IOException
InvalidFileFormatException
-
load
- Specified by:
load
in interfacePersistable
- Throws:
IOException
InvalidFileFormatException
-
load
- Specified by:
load
in interfacePersistable
- Throws:
IOException
InvalidFileFormatException
-
load
- Specified by:
load
in interfacePersistable
- Throws:
IOException
InvalidFileFormatException
-
read
- Throws:
IOException
-
store
- Specified by:
store
in interfacePersistable
- Throws:
IOException
-
store
- Specified by:
store
in interfacePersistable
- Throws:
IOException
-
store
- Specified by:
store
in interfacePersistable
- Throws:
IOException
-
store
- Specified by:
store
in interfacePersistable
- Throws:
IOException
-
write
- Throws:
IOException
-
newBuilder
-