| java.lang.Object org.cougaar.util.Configuration
Configuration | final public class Configuration (Code) | | Configuration is a holder of a collection of static configuration utility methods,
mostly for use by ConfigFinder et al.
|
CONFIG_PATH_PROP | final public static String CONFIG_PATH_PROP(Code) | | |
DEFAULT_CONFIG_PATH | final public static String DEFAULT_CONFIG_PATH(Code) | | |
INSTALL_PATH_PROP | final public static String INSTALL_PATH_PROP(Code) | | |
RUNTIME_PATH_PROP | final public static String RUNTIME_PATH_PROP(Code) | | |
SEP_CHAR | final public static char SEP_CHAR(Code) | | |
SOCIETY_PATH_PROP | final public static String SOCIETY_PATH_PROP(Code) | | |
USER_HOME_PROP | final public static String USER_HOME_PROP(Code) | | |
WORKSPACE_PROP | final public static String WORKSPACE_PROP(Code) | | |
canonicalizeElement | final public static URL canonicalizeElement(String el) throws MalformedURLException(Code) | | Utility method for resolving filename or url-like path elements to URLs.
These are to be interpreted as filenames, never directories.
additionally interprets the url as relative to COUGAAR_INSTALL_PATH if it resolves
as a relative URL.
|
getConfigPath | public static String getConfigPath()(Code) | | get the config path as an unmodifiable List of URL instances
which describes, in order, the set of base locations searched by
this instance of the ConfigFinder.
|
getConfigURL | public static URL getConfigURL()(Code) | | the current config directory (or common, if undefined) * |
getDefaultProperties | public static Map getDefaultProperties()(Code) | | the (static) default properties * |
getInstallURL | public static URL getInstallURL()(Code) | | the current Cougaar Install Path * |
getWorkspaceURL | public static URL getWorkspaceURL()(Code) | | the workspace location * |
resolveValue | final public static String resolveValue(String el)(Code) | | resolve Configuration variables (default ones only) in the argument
string. For example, convert "$INSTALL/foo.txt" to "/opt/cougaar/030330/foo.txt"
|
|
|