|
||||||||||
| 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(File file,
org.apache.commons.vfs.FileObject fileObject)
|
static long |
copy(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,
File file)
|
static long |
copy(org.apache.commons.vfs.FileObject fileObject,
File file,
ProgressListener progressListener)
copy a VFS file to a regular file |
static String |
escapeURLUsernameAndPassword(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,
File file,
ProgressListener progressListener)
throws IOException
fileObject - file - progressListener -
IOException
public static long copy(org.apache.commons.vfs.FileObject fileObject,
File file)
throws IOException
IOException
public static long copy(File file,
org.apache.commons.vfs.FileObject fileObject,
ProgressListener progressListener)
throws IOException
file - fileObject - progressListener -
IOException
public static long copy(File file,
org.apache.commons.vfs.FileObject fileObject)
throws IOException
IOExceptionpublic static String escapeURLUsernameAndPassword(String s)
s -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||