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 Profile
Profile.SectionNested classes/interfaces inherited from interface Registry
Registry.Hive, Registry.Key, Registry.Type -
Field Summary
FieldsFields inherited from interface Profile
PATH_SEPARATORFields inherited from interface 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 BasicRegistry
add, get, get, getVersion, put, put, remove, remove, remove, setVersionMethods inherited from class BasicProfile
add, as, as, fetch, fetch, get, get, getComment, put, remove, setCommentMethods inherited from class CommonMultiMap
clear, getComment, putAll, putComment, removeCommentMethods inherited from class BasicMultiMap
add, add, containsKey, containsValue, entrySet, getAll, isEmpty, keySet, length, putAll, size, toString, valuesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface CommentedMap
getComment, putComment, removeCommentMethods inherited from interface 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 Profile
add, add, as, as, fetch, fetch, get, get, getComment, put, remove, remove, setCommentMethods inherited from interface 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
-