|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.services.resources.TurbineResources
This is a static class for defining the default Turbine configuration keys used by core Turbine components.
Field Summary | |
static java.lang.String |
ACTION_CACHE_SIZE_KEY
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
FILE_SERVER
Deprecated. No longer used |
static java.lang.String |
LAYOUT_CACHE_SIZE_KEY
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
LOGIN_ERROR
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
LOGIN_MESSAGE
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
LOGIN_MESSAGE_NOSCREEN
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
LOGOUT_MESSAGE
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
MAIL_SERVER_KEY
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
MAX_FILE_SIZE_KEY
Deprecated. No longer used |
static java.lang.String |
MODULE_CACHE_KEY
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
MODULE_PACKAGES_KEY
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
NAVIGATION_CACHE_SIZE_KEY
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
PAGE_CACHE_SIZE_KEY
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
SCREEN_CACHE_SIZE_KEY
Deprecated. Use the corresponding constant from TurbineConstants |
static java.lang.String |
USER_CLASS_KEY
Deprecated. Use the corresponding constant from SecurityService |
Constructor Summary | |
TurbineResources()
Deprecated. |
Method Summary | |
static boolean |
getBoolean(java.lang.String name)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a boolean value. |
static boolean |
getBoolean(java.lang.String name,
boolean def)
Deprecated. The purppose of this method is to get the configuration resource with the given name as a boolean value, or a default value. |
static org.apache.commons.configuration.Configuration |
getConfiguration()
Deprecated. Get the configuration. |
static org.apache.commons.configuration.Configuration |
getConfiguration(java.lang.String prefix)
Deprecated. The purpose of this method is to extract a subset configuration sharing a common name prefix. |
static double |
getDouble(java.lang.String name)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a double. |
static double |
getDouble(java.lang.String name,
double def)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a double, or a default value. |
static float |
getFloat(java.lang.String name)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a float. |
static float |
getFloat(java.lang.String name,
float def)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a float, or a default value. |
static int |
getInt(java.lang.String name)
Deprecated. The purpose of this method is to get the configuration resource with the given name as an integer. |
static int |
getInt(java.lang.String name,
int def)
Deprecated. The purpose of this method is to get the configuration resource with the given name as an integer, or a default value. |
static java.util.Iterator |
getKeys()
Deprecated. Get the list of the keys contained in the configuration repository. |
static java.util.Iterator |
getKeys(java.lang.String prefix)
Deprecated. Get the list of the keys contained in the configuration repository that match the specified prefix. |
static java.util.List |
getList(java.lang.String name)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a vector. |
static java.util.List |
getList(java.lang.String name,
java.util.List def)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a vector, or a default value. |
static long |
getLong(java.lang.String name)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a long. |
static long |
getLong(java.lang.String name,
long def)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a long, or a default value. |
static java.lang.String |
getString(java.lang.String name)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a string. |
static java.lang.String |
getString(java.lang.String name,
java.lang.String def)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a string, or a default value. |
static java.lang.String[] |
getStringArray(java.lang.String name)
Deprecated. The purpose of this method is to get the configuration resource with the given name as a string array. |
static void |
setProperty(java.lang.String key,
java.lang.String value)
Deprecated. Set a property in with a key=value pair. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MAIL_SERVER_KEY
public static final java.lang.String MODULE_CACHE_KEY
public static final java.lang.String MODULE_PACKAGES_KEY
public static final java.lang.String ACTION_CACHE_SIZE_KEY
public static final java.lang.String LAYOUT_CACHE_SIZE_KEY
public static final java.lang.String NAVIGATION_CACHE_SIZE_KEY
public static final java.lang.String PAGE_CACHE_SIZE_KEY
public static final java.lang.String SCREEN_CACHE_SIZE_KEY
public static final java.lang.String USER_CLASS_KEY
public static final java.lang.String MAX_FILE_SIZE_KEY
public static final java.lang.String FILE_SERVER
public static final java.lang.String LOGIN_MESSAGE
public static final java.lang.String LOGIN_ERROR
public static final java.lang.String LOGIN_MESSAGE_NOSCREEN
public static final java.lang.String LOGOUT_MESSAGE
Constructor Detail |
public TurbineResources()
Method Detail |
public static void setProperty(java.lang.String key, java.lang.String value)
key
- value
- public static boolean getBoolean(java.lang.String name)
name
- The resource name.
public static boolean getBoolean(java.lang.String name, boolean def)
name
- The resource name.def
- The default value of the resource.
public static double getDouble(java.lang.String name)
name
- The resoource name.
public static double getDouble(java.lang.String name, double def)
name
- The resource name.def
- The default value of the resource.
public static float getFloat(java.lang.String name)
name
- The resource name.
public static float getFloat(java.lang.String name, float def)
name
- The resource name.def
- The default value of the resource.
public static int getInt(java.lang.String name)
name
- The resource name.
public static int getInt(java.lang.String name, int def)
name
- The resource name.def
- The default value of the resource.
public static java.util.Iterator getKeys()
public static java.util.Iterator getKeys(java.lang.String prefix)
prefix
- A String prefix to test against.
public static long getLong(java.lang.String name)
name
- The resource name.
public static long getLong(java.lang.String name, long def)
name
- The resource name.def
- The default value of the resource.
public static java.lang.String getString(java.lang.String name)
name
- The resource name.
public static java.lang.String getString(java.lang.String name, java.lang.String def)
name
- The resource name.def
- The default value of the resource.
public static java.lang.String[] getStringArray(java.lang.String name)
name
- The resource name.
public static java.util.List getList(java.lang.String name)
name
- The resource name.
public static java.util.List getList(java.lang.String name, java.util.List def)
name
- The resource name.def
- The default value of the resource.
public static org.apache.commons.configuration.Configuration getConfiguration()
public static org.apache.commons.configuration.Configuration getConfiguration(java.lang.String prefix)
prefix
- the common name prefix
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |