|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jdmk.DefaultPaths
com.sun.jdmk.defaults.DefaultPaths
instead.
public class DefaultPaths
This class represents a set of default directories used by Java DMK.
Method Summary | |
---|---|
static String |
getEtcDir()
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead. |
static String |
getEtcDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead. |
static String |
getInstallDir()
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead. |
static String |
getInstallDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead. |
static String |
getTmpDir()
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead. |
static String |
getTmpDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead. |
static void |
setEtcDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead. |
static void |
setInstallDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead. |
static void |
setTmpDir(String dirname)
Deprecated. Use com.sun.jdmk.defaults.DefaultPaths instead. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getInstallDir()
com.sun.jdmk.defaults.DefaultPaths
instead.
<base_dir> + File.separator + SUNWjdmk + File.separator + 5.1
or,
System.getProperty("user.dir")
if the JDMK installation directory could not be derived from the CLASSPATH
.
public static String getInstallDir(String dirname)
com.sun.jdmk.defaults.DefaultPaths
instead.
<base_dir> + File.separator + SUNWjdmk + File.separator + 5.1
or,
System.getProperty("user.dir")
if the JDMK installation directory could not be derived from the CLASSPATH
.
dirname
- The directory to be appended.
File.separator
+ dirname
.public static void setInstallDir(String dirname)
com.sun.jdmk.defaults.DefaultPaths
instead.
dirname
- The directory where Java DMK resides.public static String getEtcDir()
com.sun.jdmk.defaults.DefaultPaths
instead.
etc
directory for Java DMK.
The default value of the etc
directory is:
DefaultPaths.getInstallDir("etc")
.
etc
directory.public static String getEtcDir(String dirname)
com.sun.jdmk.defaults.DefaultPaths
instead.
etc
directory for Java DMK concatenated with dirname.
The default value of the etc
directory is:
DefaultPaths.getInstallDir("etc")
.
dirname
- The directory to be appended.
etc
directory + File.separator
+ dirname
.public static void setEtcDir(String dirname)
com.sun.jdmk.defaults.DefaultPaths
instead.
etc
directory for Java DMK.
dirname
- The etc
directory for Java DMK.public static String getTmpDir()
com.sun.jdmk.defaults.DefaultPaths
instead.
tmp
directory for the product.
The default value of the tmp
directory is:
DefaultPaths.getInstallDir("tmp")
.
tmp
directory.public static String getTmpDir(String dirname)
com.sun.jdmk.defaults.DefaultPaths
instead.
tmp
directory for Java DMK concatenated with dirname.
The default value of the tmp
directory is:
DefaultPaths.getInstallDir("tmp")
.
dirname
- The directory to be appended.
tmp
directory + File.separator
+ dirname
.public static void setTmpDir(String dirname)
com.sun.jdmk.defaults.DefaultPaths
instead.
tmp
directory for the product
dirname
- The tmp
directory for Java DMK.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |