Class RegConfiguration
java.lang.Object
net.thevpc.common.config.AbstractConfiguration
net.thevpc.common.config.RegConfiguration
- All Implemented Interfaces:
Serializable, Configuration
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class AbstractConfiguration
USER_CONFIGURATION_CHANGEDFields inherited from interface Configuration
BOOLEAN_TYPE, COLOR_TYPE, COMMENTS_SUFFIX, CONFIDENTIAL_TYPE, CONFIGURATION_CHANGED, DATE_TYPE, DOUBLE_TYPE, FLOAT_TYPE, FONT_TYPE, INT_TYPE, LOCALE_TYPE, LONG_TYPE, OBFUSCATED_TYPE, SHORT_TYPE, STRING_TYPE, TIME_TYPE, TYPE_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionRegConfiguration(String root, RegConfiguration.StoreType storeType, boolean secure) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckReadOnlyProperty(String name) voidclear()protected voidclose()booleancontainsKey(String key) voiddeleteTree(String key, boolean deleteRoot) String[]getChildrenKeys(String key, boolean recurse) protected Stringprotected Stringprotected Objectprotected RegConfigurationStoreFactorygetRoot()/ if(DEBUG){ / System.out.println("AppInfos("+registryId+").getInt("+param_name+","+value+")="+ret); / }keySet()voidload()protected voidsetPropertyDescImpl(String key, String type) protected voidsetPropertyValueImpl(String key, Object value, String type) voidstore()toMap()Methods inherited from class AbstractConfiguration
equals, fromSpecialString, getBoolean, getChar, getColor, getColorArray, getColorArray, getConverter, getConverter, getDate, getDate, getDouble, getFloat, getFont, getInt, getIntArray, getLoadedValue, getLocale, getLocale, getLocaleFromString, getLong, getObject, getOptions, getProperty, getPropertyComments, getPropertyType, getShort, getStoredValue, getString, getString, getStringArray, getStringArray, getTime, getTime, isSupportedClass, lightWeightDecrypt, lightWeightEncrypt, loadFromClass, obfuscate, registerConverter, remove, setArray, setBoolean, setChar, setColor, setColorArray, setConfidential, setDate, setDouble, setFloat, setFont, setInt, setIntArray, setLocale, setLong, setObfuscated, setProperty, setPropertyComments, setShort, setString, setStringArray, setTime, storeToClass, toHex, toSpecialString, toSpecialStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Configuration
getBoolean, getChar, getColor, getColorArray, getColorArray, getConverter, getConverter, getDate, getDate, getDouble, getFloat, getFont, getInt, getIntArray, getLoadedValue, getLocale, getLocale, getLong, getObject, getOptions, getProperty, getPropertyComments, getPropertyType, getShort, getStoredValue, getString, getString, getStringArray, getStringArray, getTime, getTime, isSupportedClass, remove, setArray, setBoolean, setChar, setColor, setColorArray, setConfidential, setDate, setDouble, setFloat, setFont, setInt, setIntArray, setLocale, setLong, setObfuscated, setProperty, setPropertyComments, setShort, setString, setStringArray, setTime
-
Field Details
-
infoFileLoaded
protected boolean infoFileLoaded -
installationUser
-
doEncryptFlag
protected boolean doEncryptFlag
-
-
Constructor Details
-
RegConfiguration
-
-
Method Details
-
close
protected void close() -
getRoot
/ if(DEBUG){ / System.out.println("AppInfos("+registryId+").getInt("+param_name+","+value+")="+ret); / } -
checkReadOnlyProperty
-
deleteTree
- Specified by:
deleteTreein interfaceConfiguration- Specified by:
deleteTreein classAbstractConfiguration
-
getChildrenKeys
- Specified by:
getChildrenKeysin interfaceConfiguration- Specified by:
getChildrenKeysin classAbstractConfiguration
-
keySet
- Specified by:
keySetin interfaceConfiguration- Specified by:
keySetin classAbstractConfiguration
-
toMap
- Specified by:
toMapin interfaceConfiguration- Specified by:
toMapin classAbstractConfiguration
-
clear
public void clear()- Specified by:
clearin interfaceConfiguration
-
load
- Specified by:
loadin interfaceConfiguration- Specified by:
loadin classAbstractConfiguration- Throws:
ConfigurationException
-
store
- Specified by:
storein interfaceConfiguration- Throws:
IOException
-
containsKey
- Specified by:
containsKeyin interfaceConfiguration
-
getPropertyDescImpl
- Specified by:
getPropertyDescImplin classAbstractConfiguration
-
getPropertyTypeImpl
- Specified by:
getPropertyTypeImplin classAbstractConfiguration
-
setPropertyDescImpl
- Specified by:
setPropertyDescImplin classAbstractConfiguration
-
getPropertyValueImpl
- Specified by:
getPropertyValueImplin classAbstractConfiguration
-
setPropertyValueImpl
- Specified by:
setPropertyValueImplin classAbstractConfiguration
-