public class WorkingDirectory
extends java.lang.Object
This class enables dynamic change of the "current directory".
The directory currency only affects the current thread. Child thread will inherit the currency.
Zephyr Business Solution
Modifier and Type | Method and Description |
---|---|
static java.io.File |
file(java.lang.String s)
To create a File object using the current directory.
|
static java.io.File |
getBase()
To get the current base directory.
|
static void |
setBase(java.io.File b)
To change the current base directory.
|
public static java.io.File file(java.lang.String s)
s
- the file string.public static java.io.File getBase()
public static void setBase(java.io.File b)
b
- the new base directory.