com.p6spy.engine.common
Class P6SpyProperties

java.lang.Object
  extended bycom.p6spy.engine.common.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
           
 Properties properties
           
protected static long propertiesLastModified
           
protected static String propertiesPath
           
protected static String SPY_PROPERTIES_FILE
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPTIONS_FILE_PROPERTY

protected static final String OPTIONS_FILE_PROPERTY
See Also:
Constant Field Values

DFLT_OPTIONS_FILE

protected static final String DFLT_OPTIONS_FILE
See Also:
Constant Field Values

SPY_PROPERTIES_FILE

protected static String SPY_PROPERTIES_FILE

propertiesLastModified

protected static long propertiesLastModified

propertiesPath

protected static String propertiesPath

properties

public Properties properties
Constructor Detail

P6SpyProperties

public P6SpyProperties()
Creates a new instance of P6SpyProperties

Method Detail

initMethod

public static void initMethod()

isNewProperties

public boolean isNewProperties()

getPropertiesPath

public static String getPropertiesPath()

setSpyProperties

public static void setSpyProperties(String _properties)

findPropertiesPath

protected static String findPropertiesPath()

saveProperties

public static void saveProperties()

forceReadProperties

public Properties forceReadProperties()

setClassValues

public void setClassValues(Class klass)

getReverseOrderedList

public ArrayList getReverseOrderedList(String prefix)

getOrderedList

public ArrayList getOrderedList(String prefix)