public class SearchPath
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BOTH
Both shared and private areas
|
static int |
PRIVATE
Private area only
|
static int |
SHARED
Shared area only
|
| Constructor and Description |
|---|
SearchPath() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
find(java.lang.String path,
int where)
Finds a file relative to the directories in the searchpath
|
static java.lang.String |
privpath(java.lang.String path)
Get the private path for a given path
|
public static final int SHARED
public static final int PRIVATE
public static final int BOTH
public static java.lang.String privpath(java.lang.String path)
path - (IN) to be appended to the private pathpublic static java.lang.String find(java.lang.String path,
int where)
path - (IN) path to be searchedwhere - (IN) SHARED | PRIVATE | BOTH