public class Files extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HOME_ALIAS |
static String |
SLASH |
| Constructor and Description |
|---|
Files() |
| Modifier and Type | Method and Description |
|---|---|
static String |
canonicalize(String target)
Replace instances of internal tokens with actual file equivalents.
|
static File |
getWorkingDirectory()
Returns the current working directory
|
static void |
unzip(File zipFile,
File targetDirectory)
Unzips a specific file into a target directory
|
public static final String HOME_ALIAS
public static final String SLASH
public static String canonicalize(String target)
public static File getWorkingDirectory()
public static void unzip(File zipFile, File targetDirectory) throws IOException
IOExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.