Class FileConfiguration
java.lang.Object
net.thevpc.common.config.AbstractConfiguration
net.thevpc.common.config.FileConfiguration
- All Implemented Interfaces:
Serializable, Configuration
- Author:
- Taha BEN SALAH (thevpc@walla.com) %creationtime 13 juil. 2006 22:14:21
- See Also:
-
Field Summary
Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(String key) voiddeleteTree(String key, boolean deleteRoot) static booleanString[]getChildrenKeys(String key, boolean recurse) protected Stringprotected Stringprotected Objectstatic booleankeySet()voidload()voidvoidload(InputStream in) voidvoidstatic voidsetPersistenceEnabled(boolean e) protected voidsetPropertyDescImpl(String key, String type) protected voidsetPropertyValueImpl(String key, Object value, String type) voidstore()voidvoidstore(OutputStream out, String header) voidvoidtoMap()Methods inherited from class AbstractConfiguration
fromSpecialString, getBoolean, getChar, getColor, getColorArray, getColorArray, getConverter, getConverter, getDate, getDate, getDouble, getFloat, getFont, getInt, getIntArray, getLoadedValue, getLocale, getLocale, getLocaleFromString, getLong, getObject, 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, toSpecialString
-
Constructor Details
-
FileConfiguration
public FileConfiguration() -
FileConfiguration
-
FileConfiguration
- Throws:
IOExceptionParseException
-
-
Method Details
-
getOptions
- Specified by:
getOptionsin interfaceConfiguration- Overrides:
getOptionsin classAbstractConfiguration
-
clear
public void clear() -
setPersistenceEnabled
public static void setPersistenceEnabled(boolean e) -
isPersistenceEnabled
public static boolean isPersistenceEnabled() -
load
- Specified by:
loadin interfaceConfiguration- Specified by:
loadin classAbstractConfiguration- Throws:
ConfigurationException
-
store
- Throws:
IOException
-
containsKey
-
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
-
load
- Throws:
IOExceptionParseException
-
load
- Throws:
IOExceptionParseException
-
load
- Throws:
IOExceptionParseException
-
load
- Throws:
IOExceptionParseException
-
store
- Throws:
IOException
-
store
- Throws:
IOException
-
store
- Throws:
IOException
-
store
- Throws:
IOException
-
toMap
- Specified by:
toMapin interfaceConfiguration- Specified by:
toMapin classAbstractConfiguration
-
equals
-
getPropertyDescImpl
- Specified by:
getPropertyDescImplin classAbstractConfiguration
-
getPropertyValueImpl
- Specified by:
getPropertyValueImplin classAbstractConfiguration
-
getPropertyTypeImpl
- Specified by:
getPropertyTypeImplin classAbstractConfiguration
-
setPropertyDescImpl
- Specified by:
setPropertyDescImplin classAbstractConfiguration
-
setPropertyValueImpl
- Specified by:
setPropertyValueImplin classAbstractConfiguration
-