com.basistech.util
Class Pathnames

java.lang.Object
  extended by com.basistech.util.Pathnames

public class Pathnames
extends Object

This class retrieves pathnames commonly used in Basis products. It is non-static to allow for some control of initialization order.


Constructor Summary
Pathnames()
          Default constructor.
 
Method Summary
 String getBTRootDirectory()
          Retrieve the root of an SDK or runtime installation.
 String getJNIModuleDirectory()
          Retrieve the directory within the Basis Technology installation directory where native code libraries are located.
static void setBTRootDirectory(String path)
          Set the Basis root directory (the root of an SDK or runtime installation).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pathnames

public Pathnames()
Default constructor.

Method Detail

setBTRootDirectory

public static void setBTRootDirectory(String path)
Set the Basis root directory (the root of an SDK or runtime installation). This is the parent of the 'rlp' directory. Calling this overrides any setting of the 'bt.root' system property.

Parameters:
path - to the BT root directory

getBTRootDirectory

public String getBTRootDirectory()
Retrieve the root of an SDK or runtime installation. This is the parent directory of the 'rlp' directory. If not previously set by calling setBTRootDirectory, this will default to the value of the 'bt.root' system property.

Returns:
the BT root directory

getJNIModuleDirectory

public String getJNIModuleDirectory()
Retrieve the directory within the Basis Technology installation directory where native code libraries are located.

Returns:
the directory for native code libraries


Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.