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.SectionNested classes/interfaces inherited from interface org.ini4j.Registry
Registry.Hive, Registry.Key, Registry.Type -
Field Summary
FieldsFields inherited from interface org.ini4j.Profile
PATH_SEPARATORFields 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 booleanvoidload()voidvoidload(InputStream input) voidvoidprotected IniHandlervoidvoidvoidvoidstore()voidvoidstore(OutputStream output) voidvoidwrite()Methods inherited from class org.ini4j.BasicRegistry
add, get, get, getVersion, put, put, remove, remove, remove, setVersionMethods inherited from class org.ini4j.BasicProfile
add, as, as, fetch, fetch, get, get, getComment, put, remove, setCommentMethods inherited from class org.ini4j.CommonMultiMap
clear, getComment, putAll, putComment, removeCommentMethods inherited from class org.ini4j.BasicMultiMap
add, add, containsKey, containsValue, entrySet, getAll, isEmpty, keySet, length, putAll, size, toString, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ini4j.CommentedMap
getComment, putComment, removeCommentMethods 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, valuesMethods inherited from interface org.ini4j.Profile
add, add, as, as, fetch, fetch, get, get, getComment, put, remove, remove, setCommentMethods 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:
getConfigin interfaceConfigurable
-
setConfig
- Specified by:
setConfigin interfaceConfigurable
-
getFile
- Specified by:
getFilein interfacePersistable
-
setFile
- Specified by:
setFilein interfacePersistable
-
load
- Specified by:
loadin interfacePersistable- Throws:
IOExceptionInvalidFileFormatException
-
load
- Specified by:
loadin interfacePersistable- Throws:
IOExceptionInvalidFileFormatException
-
load
- Specified by:
loadin interfacePersistable- Throws:
IOExceptionInvalidFileFormatException
-
load
- Specified by:
loadin interfacePersistable- Throws:
IOExceptionInvalidFileFormatException
-
load
- Specified by:
loadin interfacePersistable- Throws:
IOExceptionInvalidFileFormatException
-
read
- Throws:
IOException
-
store
- Specified by:
storein interfacePersistable- Throws:
IOException
-
store
- Specified by:
storein interfacePersistable- Throws:
IOException
-
store
- Specified by:
storein interfacePersistable- Throws:
IOException
-
store
- Specified by:
storein interfacePersistable- Throws:
IOException
-
write
- Throws:
IOException
-
newBuilder
-