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
FileNotFoundException
public VFSFileFactory(AbstractFileHomeFactory homeFactory) throws FileNotFoundException
FileNotFoundException
public VFSFileFactory(org.apache.commons.vfs2.FileSystemOptions opts) throws FileNotFoundException
FileNotFoundException
public VFSFileFactory(org.apache.commons.vfs2.FileSystemOptions opts, AbstractFileHomeFactory homeFactory) throws FileNotFoundException
FileNotFoundException
public VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager) throws FileNotFoundException
FileNotFoundException
public VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager, AbstractFileHomeFactory homeFactory) throws FileNotFoundException
FileNotFoundException
public VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager, org.apache.commons.vfs2.FileSystemOptions opts) throws FileNotFoundException
FileNotFoundException
public VFSFileFactory(org.apache.commons.vfs2.FileSystemManager manager, org.apache.commons.vfs2.FileSystemOptions opts, AbstractFileHomeFactory homeFactory) throws FileNotFoundException
FileNotFoundException
public 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
PermissionDeniedException
IOException
public VFSFile getFile(String path, Connection con) throws PermissionDeniedException, IOException
getFile
in interface AbstractFileFactory<VFSFile>
PermissionDeniedException
IOException
public Event populateEvent(Event evt)
populateEvent
in interface AbstractFileFactory<VFSFile>
public void setDefaultPath(String path) throws FileNotFoundException
FileNotFoundException
public VFSFile getDefaultPath(Connection con) throws PermissionDeniedException, IOException
getDefaultPath
in interface AbstractFileFactory<VFSFile>
PermissionDeniedException
IOException
Copyright © 2024. All rights reserved.