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 String
DFLT_OPTIONS_FILE
protected static String
OPTIONS_FILE_PROPERTY
protected static String
SPY_PROPERTIES_FILE
Properties
properties
protected static long
propertiesLastModified
protected static String
propertiesPath

Constructor Summary

P6SpyProperties()
Creates a new instance of P6SpyProperties

Method Summary

protected static String
findPropertiesPath()
Properties
forceReadProperties()
ArrayList
getOrderedList(String prefix)
static String
getPropertiesPath()
ArrayList
getReverseOrderedList(String prefix)
static void
initMethod()
boolean
isNewProperties()
static void
saveProperties()
void
setClassValues(Class klass)
static void
setSpyProperties(String _properties)

Field Details

DFLT_OPTIONS_FILE

protected static final String DFLT_OPTIONS_FILE


OPTIONS_FILE_PROPERTY

protected static final String OPTIONS_FILE_PROPERTY


SPY_PROPERTIES_FILE

protected static String SPY_PROPERTIES_FILE


properties

public Properties properties


propertiesLastModified

protected static long propertiesLastModified


propertiesPath

protected static String propertiesPath

Constructor Details

P6SpyProperties

public P6SpyProperties()
Creates a new instance of P6SpyProperties

Method Details

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)