| java.lang.Object org.openlaszlo.server.LPS
LPS | public class LPS (Code) | | LPS is a singleton for global server state.
author: Eric Bloch version: 1.0 |
mSWFVersionDefault | public static String mSWFVersionDefault(Code) | | |
mSWFVersionNumDefault | public static int mSWFVersionNumDefault(Code) | | |
PUBLIC_ROOT | public static String PUBLIC_ROOT()(Code) | | the "public root directory" of the LPS bits. Typically, HOME/lps. |
ROOT | public static String ROOT()(Code) | | the "root directory" of the LPS bits. Typically, HOME/WEB-INF/lps. |
getBootTime | public static long getBootTime()(Code) | | the boot time |
getBuild | public static String getBuild()(Code) | | a string representation of the versionof this build. |
getComponentsDirectory | public static String getComponentsDirectory()(Code) | | the location of the components directory. |
getConfigDirectory | public static String getConfigDirectory()(Code) | | the location of the config directory. |
getFontDirectory | public static String getFontDirectory()(Code) | | the location of the fonts directory. |
getHomeParent | public static String getHomeParent()(Code) | | the directory which is the parent of the directory in the LPS_HOME property |
getImagesDirectory | public static String getImagesDirectory()(Code) | | the location of the images directory. |
getLFCname | public static String getLFCname(String runtime, boolean debug, boolean profile, boolean backtrace)(Code) | | |
getLPSJarFile | public static File getLPSJarFile()(Code) | | the location of the lps.jar when running inside a servlet container |
getLocale | public static Locale getLocale()(Code) | | the LOCALE property |
getMiscDirectory | public static String getMiscDirectory()(Code) | | the location of the misc directory. |
getPropertiesFile | public static File getPropertiesFile()(Code) | | the properties file |
getProperty | public static String getProperty(String name, String value)(Code) | | a property from the LPS property file, defaultingto value. |
getProperty | public static String getProperty(String name)(Code) | | a property from the LPS property file. |
getRelease | public static String getRelease()(Code) | | a string representation of the release |
getRuntimeDefault | public static String getRuntimeDefault()(Code) | | |
getSWFVersion | public static String getSWFVersion(int num)(Code) | | |
getSWFVersionNum | public static int getSWFVersionNum(String swfversion)(Code) | | swf version number |
getSystemProperty | public static String getSystemProperty(String name)(Code) | | Safe version of System.getProperty() that won't
throw a SecurityException if the property can't be read
|
getSystemProperty | public static String getSystemProperty(String name, String d)(Code) | | Safe version of System.getProperty() that won't
throw a SecurityException if the property can't be read
|
getSystemPropertyOrUnknowable | public static String getSystemPropertyOrUnknowable(String name)(Code) | | Safe version of System.getProperty() that won't
throw a SecurityException if the property can't be read.
Return 'unknowable' if security won't let us know.
|
getTemplateDirectory | public static String getTemplateDirectory()(Code) | | |
getVersion | public static String getVersion()(Code) | | a string representation of the versionof this build. |
getWorkDirectory | public static String getWorkDirectory()(Code) | | the location of the default cache directory. |
initialize | public static void initialize()(Code) | | |
isInternalBuild | public static boolean isInternalBuild()(Code) | | |
setProperty | public static void setProperty(String name, String value)(Code) | | Override a property in the LPS property file.
|
setRuntimeDefault | public static void setRuntimeDefault(String runtime)(Code) | | Set SWF version default.
|
|
|