public final class FileUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
copyFile(java.io.File source,
java.io.File target) |
static void |
fileToOutputStream(java.io.File file,
java.io.OutputStream outputStream) |
static java.lang.String |
getRelativePath(java.io.File rootPath,
java.io.File path) |
static java.lang.String |
getRelativePath(java.lang.String rootPath,
java.lang.String path) |
static void |
inputStreamToFile(java.io.InputStream inputStream,
java.io.File file) |
static void |
inputStreamToOutputStream(java.io.InputStream inputStream,
java.io.OutputStream outputStream) |
static void |
tryCloseSilent(java.io.Closeable closeable) |
public static void inputStreamToFile(java.io.InputStream inputStream, java.io.File file)
public static void fileToOutputStream(java.io.File file, java.io.OutputStream outputStream)
public static void copyFile(java.io.File source, java.io.File target)
public static void inputStreamToOutputStream(java.io.InputStream inputStream, java.io.OutputStream outputStream)
public static java.lang.String getRelativePath(java.io.File rootPath, java.io.File path)
public static java.lang.String getRelativePath(java.lang.String rootPath, java.lang.String path)
public static void tryCloseSilent(java.io.Closeable closeable)
Siehe auch Jowidgets Nutzerhandbuch