nl.knowledgeplaza.util
Class VfsUtils
java.lang.Object
nl.knowledgeplaza.util.VfsUtils
public class VfsUtils
- extends java.lang.Object
Apache Commons VFS tools
|
Method Summary |
static long |
copy(java.io.File file,
org.apache.commons.vfs.FileObject fileObject)
|
static long |
copy(java.io.File file,
org.apache.commons.vfs.FileObject fileObject,
ProgressListener progressListener)
copy a regular file to a VFS file |
static long |
copy(org.apache.commons.vfs.FileObject fileObject,
java.io.File file)
|
static long |
copy(org.apache.commons.vfs.FileObject fileObject,
java.io.File file,
ProgressListener progressListener)
copy a VFS file to a regular file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VfsUtils
public VfsUtils()
copy
public static long copy(org.apache.commons.vfs.FileObject fileObject,
java.io.File file,
ProgressListener progressListener)
throws java.io.IOException
- copy a VFS file to a regular file
- Parameters:
fileObject - file - progressListener -
- Throws:
java.io.IOException
copy
public static long copy(org.apache.commons.vfs.FileObject fileObject,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
copy
public static long copy(java.io.File file,
org.apache.commons.vfs.FileObject fileObject,
ProgressListener progressListener)
throws java.io.IOException
- copy a regular file to a VFS file
- Parameters:
file - fileObject - progressListener -
- Throws:
java.io.IOException
copy
public static long copy(java.io.File file,
org.apache.commons.vfs.FileObject fileObject)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.