public final class FileUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFile(java.io.InputStream in,
java.io.File destFile)
Copy a file.
|
static void |
copyFile(java.io.InputStream in,
java.io.OutputStream out)
Copy a file.
|
static void |
copyFile(java.io.InputStream in,
java.lang.String destFile)
Copy a file.
|
static void |
copyFile(java.lang.String inFile,
java.lang.String destFile)
Copy a file.
|
static java.lang.String |
getLocation(java.lang.String baseFile,
java.lang.String file)
Returns the location of a file relative to a base file.
|
public static void copyFile(java.io.InputStream in,
java.io.File destFile)
throws java.io.IOException
in - InputStreamdestFile - out as Filejava.io.IOException - if file cannot ne copiedpublic static void copyFile(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
in - InputStreamout - as OutputStreamjava.io.IOException - if file cannot ne copiedpublic static void copyFile(java.io.InputStream in,
java.lang.String destFile)
throws java.io.IOException
in - InputStreamdestFile - out file namejava.io.IOException - if file cannot ne copiedpublic static void copyFile(java.lang.String inFile,
java.lang.String destFile)
throws java.io.IOException
inFile - source file namedestFile - destination file namejava.io.IOException - if file cannot ne copiedpublic static java.lang.String getLocation(java.lang.String baseFile,
java.lang.String file)
baseFile - the base filefile - the file to be resolvedSubmit a
bug or a
feature.
Created by
xsddoc, a sub project of
xframe, hosted at
http://www.sourceforge.net.