NextApp Echo
App Container 1.0.5

nextapp.echoservlet
Class ApplicationProperties

java.lang.Object
  extended bynextapp.echoservlet.ApplicationProperties
All Implemented Interfaces:
java.io.Serializable

class ApplicationProperties
extends java.lang.Object
implements java.io.Serializable

Configuration properties for an application.


Field Summary
(package private) static java.lang.String CLIENT_ERROR_MESSAGE_RESOURCE
           
(package private) static java.lang.String DEBUG_INTERACTIVE_CONTROLLER
           
(package private) static java.lang.String DEBUG_OPTIONS_ENABLED
           
(package private) static java.lang.String DEBUG_PERFORMANCE_LOGGING
           
(package private) static java.lang.String DEBUG_VERBOSE_LOGGING
           
(package private) static java.lang.String DEFAULT_PARAMETER_ENCODING
           
private static java.lang.String DEFAULT_PROPERTIES_FILE
           
(package private) static java.lang.String DISPLAY_CLIENT_ERROR_FEEDBACK
           
(package private) static java.lang.String FIX_PARAMETER_ENCODING
           
private  PropertyMap properties
           
(package private) static java.lang.String SPLASH_SCREEN_URI
           
(package private) static java.lang.String STARTUP_DELAY
           
(package private) static java.lang.String STARTUP_NO_SCRIPT_ERROR_TEXT
           
(package private) static java.lang.String STARTUP_WINDOW_TEXT
           
(package private) static java.lang.String STARTUP_WINDOW_TITLE
           
 
Constructor Summary
ApplicationProperties(java.lang.String className)
          Creates a new ApplicationProperties object for the specified class name.
 
Method Summary
(package private)  java.lang.String get(java.lang.String key)
          Returns the value of the specified property as a String.
(package private)  boolean getBoolean(java.lang.String key)
          Returns the value of the specified property as a boolean.
(package private)  int getInteger(java.lang.String key)
          Returns the value of the specified property as an integer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PROPERTIES_FILE

private static final java.lang.String DEFAULT_PROPERTIES_FILE
See Also:
Constant Field Values

STARTUP_WINDOW_TITLE

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

STARTUP_WINDOW_TEXT

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

STARTUP_NO_SCRIPT_ERROR_TEXT

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

SPLASH_SCREEN_URI

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

STARTUP_DELAY

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

DEFAULT_PARAMETER_ENCODING

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

FIX_PARAMETER_ENCODING

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

DEBUG_OPTIONS_ENABLED

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

DEBUG_VERBOSE_LOGGING

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

DEBUG_INTERACTIVE_CONTROLLER

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

DEBUG_PERFORMANCE_LOGGING

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

DISPLAY_CLIENT_ERROR_FEEDBACK

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

CLIENT_ERROR_MESSAGE_RESOURCE

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

properties

private PropertyMap properties
Constructor Detail

ApplicationProperties

public ApplicationProperties(java.lang.String className)
Creates a new ApplicationProperties object for the specified class name. The ApplicationProperties object will attempt to retrieve a correspondingly named .properties file for the class located in the same package and with the same name as the class.

Parameters:
className - The fully qualified name of the class for which the ApplicationProperties object is being created.
Method Detail

get

java.lang.String get(java.lang.String key)
Returns the value of the specified property as a String.

Parameters:
key - The key of the property to be returned.
Returns:
The value of the property as a String.

getBoolean

boolean getBoolean(java.lang.String key)
Returns the value of the specified property as a boolean.

Parameters:
key - The key of the property to be returned.
Returns:
The value of the property as a boolean.

getInteger

int getInteger(java.lang.String key)
Returns the value of the specified property as an integer.

Parameters:
key - The key of the property to be returned.
Returns:
The value of the property as an integer.

NextApp Echo
App Container 1.0.5