public class FileUtil extends Object
Constructor and Description |
---|
FileUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
forceDeleteOnExit(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 forceDeleteOnExit(File file)
public static File unzip(File zipFile) throws IOException
IOException
public static String getContents(File file) throws IOException
IOException
public static void write(String contents, File file) throws IOException
IOException
Copyright © 2014 Liquibase.org. All rights reserved.