| java.lang.Object de.ug2t.kernel.KeEnvironment
KeEnvironment | final public class KeEnvironment (Code) | | author: Dirk author: date: 02.01.2004 project: WiSer-Framework author: author: The envorinment class is a collection of static methods to get information author: about the runtime environment of a application author:
|
Inner Class :static class KeUrlUTF8Encoder | |
Method Summary | |
final public static Object | pcmf_addParameterCluster(String xSource, String xCluster)
Adds a new parameter block to a configuration. | final public static String | pcmf_buildPath(String xPath)
Builds the real absolute path of a relative path. | final public static void | pcmf_clearParameterGetter() | public static String | pcmf_encodeURL(String xToEncode) | public static String | pcmf_getCharacterSet() | public static Charset | pcmf_getCharacterSetObject() | final public static Object | pcmf_getParameter(String xSource, String xCluster, String xKey)
Gets a parameter from a xml configuration file. | final public static Object | pcmf_getParameter(String xSource, String xCluster, String xKey, Object xNull)
Gets a parameter from a xml configuration file. | final public static Object | pcmf_getParameterFromURI(String xSource, String xCluster, String xKey) | final public static ICoXmlParameterGetter | pcmf_getParameterGetter() | final public static Iterator | pcmf_getParameterKeys(String xSource, String xCluster) | final public static String | pcmf_getRootDir() | public static String | pcmf_getSessionTmpDir()
Gets the temporary directory of the session. | public static String | pcmf_getTmpDir()
Gets the temporary directory of the application, it is shared between all
sessions. | final public static void | pcmf_initScript(String xFile, String xScript) | final public static Object | pcmf_setParameter(String xSource, String xCluster, String xKey, Object xValue)
Sets or adds a parameter in a loaded configuration file. | final public static void | pcmf_setRootDir(String xRoot) | final public static void | pcmf_setTmpDir(String xTmp) |
pcmf_addParameterCluster | final public static Object pcmf_addParameterCluster(String xSource, String xCluster) throws Exception(Code) | |
Adds a new parameter block to a configuration. This function does not save
chaged values.
Parameters: xSource - filename Parameters: xCluster - parameter block old cluster or null |
pcmf_buildPath | final public static String pcmf_buildPath(String xPath)(Code) | |
Builds the real absolute path of a relative path.
real path |
pcmf_clearParameterGetter | final public static void pcmf_clearParameterGetter()(Code) | | Clears all parameter caches
|
pcmf_encodeURL | public static String pcmf_encodeURL(String xToEncode)(Code) | |
Encodes a String to an URL safe form
encoded String |
pcmf_getCharacterSet | public static String pcmf_getCharacterSet()(Code) | |
Gets the current character set
character set as String |
pcmf_getCharacterSetObject | public static Charset pcmf_getCharacterSetObject()(Code) | |
Gets the current character set
character set as Charset object |
pcmf_getParameter | final public static Object pcmf_getParameter(String xSource, String xCluster, String xKey) throws Exception(Code) | |
Gets a parameter from a xml configuration file.
Parameters: xSource - filename Parameters: xCluster - parameter block Parameters: xKey - parameter key parameter value or object |
pcmf_getParameter | final public static Object pcmf_getParameter(String xSource, String xCluster, String xKey, Object xNull)(Code) | |
Gets a parameter from a xml configuration file.
Parameters: xSource - filename Parameters: xCluster - parameter block Parameters: xKey - parameter key Parameters: xNull - default return value if null parameter value or object |
pcmf_getParameterFromURI | final public static Object pcmf_getParameterFromURI(String xSource, String xCluster, String xKey) throws Exception(Code) | |
Gets a parameter from a xml configuration file which is referenced by the given URI
Parameters: xSource - filename Parameters: xCluster - parameter block Parameters: xKey - parameter key parameter value or object |
pcmf_getParameterKeys | final public static Iterator pcmf_getParameterKeys(String xSource, String xCluster) throws Exception(Code) | |
Gets an iterator over all key values of a parameter block
Parameters: xSource - filename Parameters: xCluster - parameter block Iterator |
pcmf_getRootDir | final public static String pcmf_getRootDir()(Code) | |
Gets the root directory of the application all paths used bay the
application are relative to this directory
root directory |
pcmf_getSessionTmpDir | public static String pcmf_getSessionTmpDir()(Code) | |
Gets the temporary directory of the session. The content of this directory
is cleaned when the session is removed startup
temporary directory |
pcmf_getTmpDir | public static String pcmf_getTmpDir()(Code) | |
Gets the temporary directory of the application, it is shared between all
sessions. The content of this directory is cleaned up during application
startup
temporary directory |
pcmf_initScript | final public static void pcmf_initScript(String xFile, String xScript)(Code) | | For internal use only
|
pcmf_setParameter | final public static Object pcmf_setParameter(String xSource, String xCluster, String xKey, Object xValue) throws Exception(Code) | |
Sets or adds a parameter in a loaded configuration file. This function does
not save chaged values.
Parameters: xSource - filename Parameters: xCluster - parameter block Parameters: xKey - parameter key Parameters: xValue - parameter value or object old parameter value or object or null |
pcmf_setRootDir | final public static void pcmf_setRootDir(String xRoot)(Code) | | For internal use only
|
pcmf_setTmpDir | final public static void pcmf_setTmpDir(String xTmp)(Code) | | For internal use only
|
|
|