com.p6spy.engine.common

Class P6SpyProperties

public class P6SpyProperties extends Object

this class contains a properties file and utility functions that enable this property file to be set on any options class

Author: jeff

Field Summary
protected static StringDFLT_OPTIONS_FILE
protected static StringOPTIONS_FILE_PROPERTY
Propertiesproperties
protected static longpropertiesLastModified
protected static StringpropertiesPath
protected static StringSPY_PROPERTIES_FILE
Constructor Summary
P6SpyProperties()
Creates a new instance of P6SpyProperties
Method Summary
protected static StringfindPropertiesPath()
PropertiesforceReadProperties()
ArrayListgetOrderedList(String prefix)
static StringgetPropertiesPath()
ArrayListgetReverseOrderedList(String prefix)
static voidinitMethod()
booleanisNewProperties()
static voidsaveProperties()
voidsetClassValues(Class klass)
static voidsetSpyProperties(String _properties)

Field Detail

DFLT_OPTIONS_FILE

protected static final String DFLT_OPTIONS_FILE

OPTIONS_FILE_PROPERTY

protected static final String OPTIONS_FILE_PROPERTY

properties

public Properties properties

propertiesLastModified

protected static long propertiesLastModified

propertiesPath

protected static String propertiesPath

SPY_PROPERTIES_FILE

protected static String SPY_PROPERTIES_FILE

Constructor Detail

P6SpyProperties

public P6SpyProperties()
Creates a new instance of P6SpyProperties

Method Detail

findPropertiesPath

protected static String findPropertiesPath()

forceReadProperties

public Properties forceReadProperties()

getOrderedList

public ArrayList getOrderedList(String prefix)

getPropertiesPath

public static String getPropertiesPath()

getReverseOrderedList

public ArrayList getReverseOrderedList(String prefix)

initMethod

public static void initMethod()

isNewProperties

public boolean isNewProperties()

saveProperties

public static void saveProperties()

setClassValues

public void setClassValues(Class klass)

setSpyProperties

public static void setSpyProperties(String _properties)