com.sun.jdmk
Class DefaultPaths

java.lang.Object
  extended by com.sun.jdmk.DefaultPaths

Deprecated. Use com.sun.jdmk.defaults.DefaultPaths instead.

public class DefaultPaths
extends Object

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

getInstallDir

public static String getInstallDir()
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead.

Returns the installation directory for Java DMK. The default value of the installation directory is:

Returns:
Java DMK installation directory.

getInstallDir

public static String getInstallDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead.

Returns the installation directory for Java DMK concatenated with dirname. The default value of the installation directory is:

Parameters:
dirname - The directory to be appended.
Returns:
Java DMK installation directory + File.separator + dirname.

setInstallDir

public static void setInstallDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead.

Sets the installation directory for Java DMK.

Parameters:
dirname - The directory where Java DMK resides.

getEtcDir

public static String getEtcDir()
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead.

Returns the etc directory for Java DMK.

The default value of the etc directory is:

Returns:
Java DMK etc directory.

getEtcDir

public static String getEtcDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead.

Returns the etc directory for Java DMK concatenated with dirname.

The default value of the etc directory is:

Parameters:
dirname - The directory to be appended.
Returns:
Java DMK etc directory + File.separator + dirname.

setEtcDir

public static void setEtcDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead.

Sets the etc directory for Java DMK.

Parameters:
dirname - The etc directory for Java DMK.

getTmpDir

public static String getTmpDir()
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead.

Returns the tmp directory for the product.

The default value of the tmp directory is:

Returns:
Java DMK tmp directory.

getTmpDir

public static String getTmpDir(String dirname)
Deprecated. use com.sun.jdmk.defaults.DefaultPaths instead.

Returns the tmp directory for Java DMK concatenated with dirname.

The default value of the tmp directory is:

Parameters:
dirname - The directory to be appended.
Returns:
Java DMK tmp directory + File.separator + dirname.

setTmpDir

public static void setTmpDir(String dirname)
Deprecated. Use com.sun.jdmk.defaults.DefaultPaths instead.

Sets the tmp directory for the product

Parameters:
dirname - The tmp directory for Java DMK.

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.