public class FileUtils
extends java.lang.Object
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
close(java.io.Closeable... closeable)
Silently close given files.
|
static void |
copyStream(java.io.InputStream is,
java.io.OutputStream os,
int buffer_size) |
static boolean |
delete(java.io.File file) |
static java.net.URI |
getURI(java.lang.String path) |
static java.lang.String |
keyToFileName(Key k)
Transform given key to a string which can be used as a file name.
|
public static void close(java.io.Closeable... closeable)
closeable
- files to closepublic static void copyStream(java.io.InputStream is, java.io.OutputStream os, int buffer_size)
public static java.net.URI getURI(java.lang.String path)
public static boolean delete(java.io.File file)
public static java.lang.String keyToFileName(Key k)