|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.knowledgeplaza.util.VfsUtils
public class VfsUtils
Apache Commons VFS tools
| Constructor Summary | |
|---|---|
VfsUtils()
|
|
| 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 |
static java.lang.String |
escapeURLUsernameAndPassword(java.lang.String s)
Certain characters must be escaped in username or password |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VfsUtils()
| Method Detail |
|---|
public static long copy(org.apache.commons.vfs.FileObject fileObject,
java.io.File file,
ProgressListener progressListener)
throws java.io.IOException
fileObject - file - progressListener -
java.io.IOException
public static long copy(org.apache.commons.vfs.FileObject fileObject,
java.io.File file)
throws java.io.IOException
java.io.IOException
public static long copy(java.io.File file,
org.apache.commons.vfs.FileObject fileObject,
ProgressListener progressListener)
throws java.io.IOException
file - fileObject - progressListener -
java.io.IOException
public static long copy(java.io.File file,
org.apache.commons.vfs.FileObject fileObject)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String escapeURLUsernameAndPassword(java.lang.String s)
s -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||