|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jabb.util.vfs.VfsUtility
public class VfsUtility
Wrapper on top of commons-vfs.
| Constructor Summary | |
|---|---|
VfsUtility()
|
|
| Method Summary | |
|---|---|
static void |
close(org.apache.commons.vfs2.FileObject fo)
Close the FileObject. |
static void |
close(org.apache.commons.vfs2.FileSystemManager fsManager)
Close the FileSystemManager. |
static void |
close(org.apache.commons.vfs2.FileSystemManager fsManager,
org.apache.commons.vfs2.FileObject... fos)
Close both FileObject(s) and FileSystemManager. |
static void |
close(org.apache.commons.vfs2.FileSystemManager fsManager,
org.apache.commons.vfs2.FileObject fo)
Close both FileObject and FileSystemManager. |
static void |
configHttpFileSystemProxy(org.apache.commons.vfs2.FileSystemOptions fsOptions,
String webProxyHost,
Integer webProxyPort,
String webProxyUserName,
String webProxyPassword)
Configure FileSystemOptions for HttpFileSystem |
static org.apache.commons.vfs2.FileSystemManager |
getManager()
Get a new instance of FileSystemManager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VfsUtility()
| Method Detail |
|---|
public static org.apache.commons.vfs2.FileSystemManager getManager()
public static void close(org.apache.commons.vfs2.FileSystemManager fsManager)
fsManager - the file system to be closed. It can be null.public static void close(org.apache.commons.vfs2.FileObject fo)
fo - the FileObject to be closed. It can be null.
public static void close(org.apache.commons.vfs2.FileSystemManager fsManager,
org.apache.commons.vfs2.FileObject fo)
fsManager - The FileSystemManager to be closed. It can be null.fo - The FileObject to be closed. It can be null.
public static void close(org.apache.commons.vfs2.FileSystemManager fsManager,
org.apache.commons.vfs2.FileObject... fos)
fsManager - The FileSystemManager to be closed. It can be null.fo - The FileObjects to be closed. It can contain null.
public static void configHttpFileSystemProxy(org.apache.commons.vfs2.FileSystemOptions fsOptions,
String webProxyHost,
Integer webProxyPort,
String webProxyUserName,
String webProxyPassword)
fsOptions - webProxyHost - webProxyPort - webProxyUserName - webProxyPassword -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||