com.p6spy.engine.common
Class P6SpyProperties

java.lang.Object
  extended bycom.p6spy.engine.common.P6SpyProperties

public class P6SpyProperties
extends java.lang.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 java.lang.String DFLT_OPTIONS_FILE
           
protected static java.lang.String OPTIONS_FILE_PROPERTY
           
 java.util.Properties properties
           
protected static long propertiesLastModified
           
protected static java.lang.String propertiesPath
           
protected static java.lang.String SPY_PROPERTIES_FILE
           
 
Constructor Summary
P6SpyProperties()
          Creates a new instance of P6SpyProperties
 
Method Summary
protected static java.lang.String findPropertiesPath()
           
 java.util.Properties forceReadProperties()
           
 java.util.ArrayList getOrderedList(java.lang.String prefix)
           
static java.lang.String getPropertiesPath()
           
 java.util.ArrayList getReverseOrderedList(java.lang.String prefix)
           
static void initMethod()
           
 boolean isNewProperties()
           
static void saveProperties()
           
 void setClassValues(java.lang.Class klass)
           
static void setSpyProperties(java.lang.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 java.lang.String OPTIONS_FILE_PROPERTY
See Also:
Constant Field Values

DFLT_OPTIONS_FILE

protected static final java.lang.String DFLT_OPTIONS_FILE
See Also:
Constant Field Values

SPY_PROPERTIES_FILE

protected static java.lang.String SPY_PROPERTIES_FILE

propertiesLastModified

protected static long propertiesLastModified

propertiesPath

protected static java.lang.String propertiesPath

properties

public java.util.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 java.lang.String getPropertiesPath()

setSpyProperties

public static void setSpyProperties(java.lang.String _properties)

findPropertiesPath

protected static java.lang.String findPropertiesPath()

saveProperties

public static void saveProperties()

forceReadProperties

public java.util.Properties forceReadProperties()

setClassValues

public void setClassValues(java.lang.Class klass)

getReverseOrderedList

public java.util.ArrayList getReverseOrderedList(java.lang.String prefix)

getOrderedList

public java.util.ArrayList getOrderedList(java.lang.String prefix)