public class VFSFileFactory extends Object implements AbstractFileFactory<VFSFile>
| Constructor and Description |
|---|
VFSFileFactory() |
VFSFileFactory(AbstractFileHomeFactory homeFactory) |
VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager) |
VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager,
AbstractFileHomeFactory homeFactory) |
VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager,
org.apache.commons.vfs2.FileSystemOptions opts) |
VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager,
org.apache.commons.vfs2.FileSystemOptions opts,
AbstractFileHomeFactory homeFactory) |
VFSFileFactory(org.apache.commons.vfs2.FileSystemOptions opts) |
VFSFileFactory(org.apache.commons.vfs2.FileSystemOptions opts,
AbstractFileHomeFactory homeFactory) |
| Modifier and Type | Method and Description |
|---|---|
VFSFile |
getDefaultPath(Connection con) |
VFSFile |
getFile(String path,
Connection con) |
VFSFile |
getFile(String parent,
String path,
Connection con) |
org.apache.commons.vfs2.FileSystemManager |
getFileSystemManager() |
boolean |
isReturnURIForPath() |
Event |
populateEvent(Event evt) |
void |
setDefaultPath(String path) |
void |
setReturnURIForPath(boolean useURI) |
public VFSFileFactory()
throws FileNotFoundException
FileNotFoundExceptionpublic VFSFileFactory(AbstractFileHomeFactory homeFactory) throws FileNotFoundException
FileNotFoundExceptionpublic VFSFileFactory(org.apache.commons.vfs2.FileSystemOptions opts)
throws FileNotFoundException
FileNotFoundExceptionpublic VFSFileFactory(org.apache.commons.vfs2.FileSystemOptions opts,
AbstractFileHomeFactory homeFactory)
throws FileNotFoundException
FileNotFoundExceptionpublic VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager)
throws FileNotFoundException
FileNotFoundExceptionpublic VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager,
AbstractFileHomeFactory homeFactory)
throws FileNotFoundException
FileNotFoundExceptionpublic VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager,
org.apache.commons.vfs2.FileSystemOptions opts)
throws FileNotFoundException
FileNotFoundExceptionpublic VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager,
org.apache.commons.vfs2.FileSystemOptions opts,
AbstractFileHomeFactory homeFactory)
throws FileNotFoundException
FileNotFoundExceptionpublic org.apache.commons.vfs2.FileSystemManager getFileSystemManager()
public boolean isReturnURIForPath()
public void setReturnURIForPath(boolean useURI)
public VFSFile getFile(String parent, String path, Connection con) throws PermissionDeniedException, IOException
PermissionDeniedExceptionIOExceptionpublic VFSFile getFile(String path, Connection con) throws PermissionDeniedException, IOException
getFile in interface AbstractFileFactory<VFSFile>PermissionDeniedExceptionIOExceptionpublic Event populateEvent(Event evt)
populateEvent in interface AbstractFileFactory<VFSFile>public void setDefaultPath(String path) throws FileNotFoundException
FileNotFoundExceptionpublic VFSFile getDefaultPath(Connection con) throws PermissionDeniedException, IOException
getDefaultPath in interface AbstractFileFactory<VFSFile>PermissionDeniedExceptionIOExceptionCopyright © 2025. All rights reserved.