|
header | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.xframe.xsddoc.util.FileUtil
Static file utility methods.
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void copyFile(java.io.InputStream in, java.io.File destFile) throws java.io.IOException
in
- InputStream
destFile
- out as File
java.io.IOException
- if file cannot ne copiedpublic static void copyFile(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
in
- InputStream
out
- as OutputStream
java.io.IOException
- if file cannot ne copiedpublic static void copyFile(java.io.InputStream in, java.lang.String destFile) throws java.io.IOException
in
- InputStream
destFile
- out file name
java.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 name
java.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 resolved
|
header | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |