public class FileUtil extends Object
| Constructor and Description |
|---|
FileUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteOnExit(File file)
Schedule a file to be deleted when JVM exits.
|
static String |
getContents(File file) |
static File |
unzip(File zipFile)
Unzips the given zip file and returns a File object corresponding to the root directory.
|
static void |
write(String contents,
File file) |
public static void deleteOnExit(File file)
public static File unzip(File zipFile) throws IOException
IOExceptionpublic static String getContents(File file) throws IOException
IOExceptionpublic static void write(String contents, File file) throws IOException
IOExceptionCopyright © 2015 Liquibase.org. All rights reserved.