|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.util.xdo.common.config.ConfigLocation
public class ConfigLocation
You can get the site level default configuration files through this class.
The path will vary from the environment and the system properties.
Usage)
// Get core config file ( xdo.cfg )
String xdoCfg = ConfigLocation.getPath( ConfigLocation.CORE );
// Get delivery server config file ( xdodelivery.cfg )
String xdoDeliveryCfg = ConfigLocation.getPath( ConfigLocation.DELIVERY );
// Get the debug config file ( xdodebug.cfg )
String xdoDebugCfg = ConfigLocation.getPath( ConfigLocation.DEBUG );
Field Summary | |
---|---|
static int |
CORE
|
static int |
DEBUG
|
static int |
DELIVERY
|
Constructor Summary | |
---|---|
ConfigLocation()
|
Method Summary | |
---|---|
static java.lang.String |
getJavaHome()
Get java.home defined in the system properties. |
static java.lang.String |
getPath(int type)
Returns the absolute path for the specified configuration file. |
static java.lang.String |
getXDOFontDir()
Returns the XDO's font directory. |
static java.lang.String |
getXDOTOP()
Get XDO_TOP defined in the system properties or returns null if it's not defined. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CORE
public static final int DELIVERY
public static final int DEBUG
Constructor Detail |
---|
public ConfigLocation()
Method Detail |
---|
public static java.lang.String getPath(int type)
type
-
public static java.lang.String getXDOTOP()
public static java.lang.String getJavaHome()
public static java.lang.String getXDOFontDir()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |