Uses of Interface
org.apache.commons.vfs2.FileObject
-
-
Uses of FileObject in org.apache.commons.vfs2
Methods in org.apache.commons.vfs2 that return FileObject Modifier and Type Method Description FileObject
FileSystemManager. createFileSystem(java.lang.String provider, FileObject file)
Creates a layered file system.FileObject
FileSystemManager. createFileSystem(FileObject file)
Creates a layered file system.FileObject
FileSystemManager. createVirtualFileSystem(java.lang.String rootUri)
Creates an empty virtual file system.FileObject
FileSystemManager. createVirtualFileSystem(FileObject rootFile)
Creates a virtual file system.FileObject[]
FileObject. findFiles(FileSelector selector)
Finds the set of matching descendants of this file, in depthwise order.FileObject
FileSystemManager. getBaseFile()
Returns the base file used to resolve relative paths.FileObject
FileSelectInfo. getBaseFolder()
Returns the base folder of the traversal.FileObject
FileObject. getChild(java.lang.String name)
Returns a child of this file.FileObject[]
FileObject. getChildren()
Lists the children of this file.FileObject
FileChangeEvent. getFile()
Returns the file that changed.FileObject
FileContent. getFile()
Returns the file which this is the content of.FileObject
FilesCache. getFile(FileSystem filesystem, FileName name)
Retrieves a FileObject from the cache by name.FileObject
FileSelectInfo. getFile()
Returns the file (or folder) to be considered.FileObject
FileObject. getParent()
Returns the folder that contains this file.FileObject
FileSystem. getParentLayer()
Returns the parent layer if this is a layered file system.FileObject
FileSystem. getRoot()
Returns the root file of this file system.FileObject
FileObject. resolveFile(java.lang.String path)
Finds a file, relative to this file.FileObject
FileObject. resolveFile(java.lang.String name, NameScope scope)
Finds a file relative to this file.FileObject
FileSystem. resolveFile(java.lang.String name)
Finds a file in this file system.FileObject
FileSystem. resolveFile(FileName name)
Finds a file in this file system.FileObject
FileSystemManager. resolveFile(java.io.File baseFile, java.lang.String name)
Locates a file by name.FileObject
FileSystemManager. resolveFile(java.lang.String name)
Locates a file by name.FileObject
FileSystemManager. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)
Locates a file by name.FileObject
FileSystemManager. resolveFile(java.net.URI uri)
Resolves a URI into aFileObject
.FileObject
FileSystemManager. resolveFile(java.net.URL url)
Resolves a URL into aFileObject
.FileObject
FileSystemManager. resolveFile(FileObject baseFile, java.lang.String name)
Locates a file by name.FileObject
FileSystemManager. toFileObject(java.io.File file)
Converts a local file into aFileObject
.Methods in org.apache.commons.vfs2 with parameters of type FileObject Modifier and Type Method Description void
FileMonitor. addFile(FileObject file)
Adds a file to be monitored.void
FileSystem. addJunction(java.lang.String junctionPoint, FileObject targetFile)
Adds a junction to this file system.void
FileSystem. addListener(FileObject file, FileListener listener)
Adds a listener on a file in this file system.boolean
FileSystemManager. canCreateFileSystem(FileObject file)
Determines if a layered file system can be created for a given file.boolean
FileObject. canRenameTo(FileObject newfile)
Queries the file if it is possible to rename it to newfile.static void
FileUtil. copyContent(FileObject srcFile, FileObject destFile)
Copies the content from a source file to a destination file.void
FileObject. copyFrom(FileObject srcFile, FileSelector selector)
Copies another file, and all its descendants, to this file.FileObject
FileSystemManager. createFileSystem(java.lang.String provider, FileObject file)
Creates a layered file system.FileObject
FileSystemManager. createFileSystem(FileObject file)
Creates a layered file system.FileObject
FileSystemManager. createVirtualFileSystem(FileObject rootFile)
Creates a virtual file system.static byte[]
FileUtil. getContent(FileObject file)
Returns the content of a file, as a byte array.void
FileObject. moveTo(FileObject destFile)
Move this file.void
FilesCache. putFile(FileObject file)
Adds a FileObject to the cache.boolean
FilesCache. putFileIfAbsent(FileObject file)
Adds a FileObject to the cache if it isn't already present.void
FileMonitor. removeFile(FileObject file)
Removes a file from being monitored.void
FileSystem. removeListener(FileObject file, FileListener listener)
Removes a listener from a file in this file system.java.io.File
FileSystem. replicateFile(FileObject file, FileSelector selector)
Creates a temporary local copy of a file and its descendants.FileObject
FileSystemManager. resolveFile(FileObject baseFile, java.lang.String name)
Locates a file by name.long
FileContent. write(FileObject file)
Writes this content to another FileObject.static void
FileUtil. writeContent(FileObject file, java.io.OutputStream output)
Writes the content of a file to an OutputStream.Method parameters in org.apache.commons.vfs2 with type arguments of type FileObject Modifier and Type Method Description void
FileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
Finds the set of matching descendants of this file.Constructors in org.apache.commons.vfs2 with parameters of type FileObject Constructor Description FileChangeEvent(FileObject file)
-
Uses of FileObject in org.apache.commons.vfs2.cache
Classes in org.apache.commons.vfs2.cache that implement FileObject Modifier and Type Class Description class
OnCallRefreshFileObject
This decorator refreshes the fileObject data on every call.Methods in org.apache.commons.vfs2.cache that return FileObject Modifier and Type Method Description FileObject[]
OnCallRefreshFileObject. findFiles(FileSelector selector)
FileObject
OnCallRefreshFileObject. getChild(java.lang.String name)
FileObject[]
OnCallRefreshFileObject. getChildren()
FileObject
DefaultFilesCache. getFile(FileSystem filesystem, FileName name)
FileObject
LRUFilesCache. getFile(FileSystem filesystem, FileName name)
FileObject
NullFilesCache. getFile(FileSystem filesystem, FileName name)
FileObject
SoftRefFilesCache. getFile(FileSystem fileSystem, FileName fileName)
FileObject
OnCallRefreshFileObject. resolveFile(java.lang.String path)
FileObject
OnCallRefreshFileObject. resolveFile(java.lang.String name, NameScope scope)
Methods in org.apache.commons.vfs2.cache that return types with arguments of type FileObject Modifier and Type Method Description protected java.lang.ref.Reference<FileObject>
SoftRefFilesCache. createReference(FileObject file, java.lang.ref.ReferenceQueue<FileObject> refqueue)
protected java.lang.ref.Reference<FileObject>
WeakRefFilesCache. createReference(FileObject file, java.lang.ref.ReferenceQueue<FileObject> refqueue)
protected java.util.concurrent.ConcurrentMap<FileName,FileObject>
DefaultFilesCache. getOrCreateFilesystemCache(FileSystem filesystem)
protected java.util.Map<FileName,FileObject>
LRUFilesCache. getOrCreateFilesystemCache(FileSystem filesystem)
protected java.util.Map<FileName,java.lang.ref.Reference<FileObject>>
SoftRefFilesCache. getOrCreateFilesystemCache(FileSystem fileSystem)
Methods in org.apache.commons.vfs2.cache with parameters of type FileObject Modifier and Type Method Description void
OnCallRefreshFileObject. copyFrom(FileObject srcFile, FileSelector selector)
protected java.lang.ref.Reference<FileObject>
SoftRefFilesCache. createReference(FileObject file, java.lang.ref.ReferenceQueue<FileObject> refqueue)
protected java.lang.ref.Reference<FileObject>
WeakRefFilesCache. createReference(FileObject file, java.lang.ref.ReferenceQueue<FileObject> refqueue)
void
OnCallRefreshFileObject. moveTo(FileObject destFile)
void
DefaultFilesCache. putFile(FileObject file)
void
LRUFilesCache. putFile(FileObject file)
void
NullFilesCache. putFile(FileObject file)
void
SoftRefFilesCache. putFile(FileObject fileObject)
boolean
DefaultFilesCache. putFileIfAbsent(FileObject file)
boolean
LRUFilesCache. putFileIfAbsent(FileObject file)
boolean
NullFilesCache. putFileIfAbsent(FileObject file)
boolean
SoftRefFilesCache. putFileIfAbsent(FileObject fileObject)
void
AbstractFilesCache. touchFile(FileObject file)
void
LRUFilesCache. touchFile(FileObject file)
Method parameters in org.apache.commons.vfs2.cache with type arguments of type FileObject Modifier and Type Method Description protected java.lang.ref.Reference<FileObject>
SoftRefFilesCache. createReference(FileObject file, java.lang.ref.ReferenceQueue<FileObject> refqueue)
protected java.lang.ref.Reference<FileObject>
WeakRefFilesCache. createReference(FileObject file, java.lang.ref.ReferenceQueue<FileObject> refqueue)
void
OnCallRefreshFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
Constructors in org.apache.commons.vfs2.cache with parameters of type FileObject Constructor Description OnCallRefreshFileObject(FileObject fileObject)
-
Uses of FileObject in org.apache.commons.vfs2.events
Constructors in org.apache.commons.vfs2.events with parameters of type FileObject Constructor Description AbstractFileChangeEvent(FileObject file)
ChangedEvent(FileObject file)
CreateEvent(FileObject file)
DeleteEvent(FileObject file)
-
Uses of FileObject in org.apache.commons.vfs2.impl
Classes in org.apache.commons.vfs2.impl that implement FileObject Modifier and Type Class Description class
DecoratedFileObject
Base class to build a fileObject decoration.class
SynchronizedFileObject
This decorator synchronize all access to the FileObject.Methods in org.apache.commons.vfs2.impl that return FileObject Modifier and Type Method Description protected FileObject
VirtualFileSystem. createFile(AbstractFileName name)
Creates a file object.FileObject
DefaultFileSystemManager. createFileSystem(java.lang.String scheme, FileObject file)
Creates a layered file system.FileObject
DefaultFileSystemManager. createFileSystem(FileObject file)
Creates a layered file system.FileObject
VirtualFileProvider. createFileSystem(java.lang.String rootUri)
Creates an empty virtual file system.FileObject
VirtualFileProvider. createFileSystem(FileObject rootFile)
Creates a virtual file system, with the supplied file as its root.FileObject
DefaultFileSystemManager. createVirtualFileSystem(java.lang.String rootUri)
Creates an empty virtual file system.FileObject
DefaultFileSystemManager. createVirtualFileSystem(FileObject rootFile)
Creates a virtual file system.FileObject[]
DecoratedFileObject. findFiles(FileSelector selector)
FileObject[]
SynchronizedFileObject. findFiles(FileSelector selector)
FileObject
DefaultFileSystemManager. getBaseFile()
Returns the base file used to resolve relative URI.FileObject
DecoratedFileObject. getChild(java.lang.String name)
FileObject
SynchronizedFileObject. getChild(java.lang.String name)
FileObject[]
DecoratedFileObject. getChildren()
FileObject[]
SynchronizedFileObject. getChildren()
FileObject
DecoratedFileObject. getDecoratedFileObject()
FileObject[]
VFSClassLoader. getFileObjects()
Provide access to the file objects this class loader represents.FileObject
DecoratedFileObject. getParent()
FileObject
DecoratedFileObject. resolveFile(java.lang.String path)
FileObject
DecoratedFileObject. resolveFile(java.lang.String name, NameScope scope)
FileObject
DefaultFileSystemManager. resolveFile(java.io.File baseFile, java.lang.String uri)
Resolves a URI, relative to base file.FileObject
DefaultFileSystemManager. resolveFile(java.lang.String uri)
Locates a file by URI.FileObject
DefaultFileSystemManager. resolveFile(java.lang.String uri, FileSystemOptions fileSystemOptions)
Locate a file by URI, use the FileSystemOptions for file-system creation.FileObject
DefaultFileSystemManager. resolveFile(java.net.URI uri)
Converts a URI into aFileObject
.FileObject
DefaultFileSystemManager. resolveFile(java.net.URL url)
Converts a URL into aFileObject
.FileObject
DefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri)
Resolves a URI, relative to a base file.FileObject
DefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Resolves a URI, relative to a base file with specified FileSystem configuration.FileObject
SynchronizedFileObject. resolveFile(java.lang.String path)
FileObject
SynchronizedFileObject. resolveFile(java.lang.String name, NameScope scope)
FileObject
DefaultFileSystemManager. toFileObject(java.io.File file)
Converts a local file into aFileObject
.Methods in org.apache.commons.vfs2.impl that return types with arguments of type FileObject Modifier and Type Method Description java.util.Iterator<FileObject>
DecoratedFileObject. iterator()
Methods in org.apache.commons.vfs2.impl with parameters of type FileObject Modifier and Type Method Description void
DefaultFileMonitor. addFile(FileObject file)
Adds a file to be monitored.void
VirtualFileSystem. addJunction(java.lang.String junctionPoint, FileObject targetFile)
Adds a junction to this file system.boolean
DefaultFileSystemManager. canCreateFileSystem(FileObject file)
Determines if a layered file system can be created for a given file.boolean
DecoratedFileObject. canRenameTo(FileObject newfile)
int
DecoratedFileObject. compareTo(FileObject fo)
void
DecoratedFileObject. copyFrom(FileObject srcFile, FileSelector selector)
void
SynchronizedFileObject. copyFrom(FileObject srcFile, FileSelector selector)
FileObject
DefaultFileSystemManager. createFileSystem(java.lang.String scheme, FileObject file)
Creates a layered file system.FileObject
DefaultFileSystemManager. createFileSystem(FileObject file)
Creates a layered file system.FileObject
VirtualFileProvider. createFileSystem(FileObject rootFile)
Creates a virtual file system, with the supplied file as its root.FileObject
DefaultFileSystemManager. createVirtualFileSystem(FileObject rootFile)
Creates a virtual file system.void
DecoratedFileObject. moveTo(FileObject destFile)
void
SynchronizedFileObject. moveTo(FileObject destFile)
protected void
DefaultFileMonitor. queueAddFile(FileObject file)
Queues a file for addition to be monitored.protected void
DefaultFileMonitor. queueRemoveFile(FileObject file)
Queues a file for removal from being monitored.void
DefaultFileMonitor. removeFile(FileObject file)
Removes a file from being monitored.java.io.File
DefaultFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)
Creates a local copy of the file, and all its descendants.java.io.File
PrivilegedFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)
Creates a local copy of the file, and all its descendants.FileObject
DefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri)
Resolves a URI, relative to a base file.FileObject
DefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Resolves a URI, relative to a base file with specified FileSystem configuration.void
DefaultFileSystemManager. setBaseFile(FileObject baseFile)
Sets the base file to use when resolving relative URI.Method parameters in org.apache.commons.vfs2.impl with type arguments of type FileObject Modifier and Type Method Description void
DecoratedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
void
SynchronizedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
Constructors in org.apache.commons.vfs2.impl with parameters of type FileObject Constructor Description DecoratedFileObject(FileObject decoratedFileObject)
SynchronizedFileObject(FileObject fileObject)
VFSClassLoader(FileObject[] files, FileSystemManager manager)
Constructors a new VFSClassLoader for the given files.VFSClassLoader(FileObject[] files, FileSystemManager manager, java.lang.ClassLoader parent)
Constructors a new VFSClassLoader for the given FileObjects.VFSClassLoader(FileObject file, FileSystemManager manager)
Constructors a new VFSClassLoader for the given file.VFSClassLoader(FileObject file, FileSystemManager manager, java.lang.ClassLoader parent)
Constructors a new VFSClassLoader for the given file. -
Uses of FileObject in org.apache.commons.vfs2.operations
Methods in org.apache.commons.vfs2.operations that return FileObject Modifier and Type Method Description protected FileObject
AbstractFileOperation. getFileObject()
Methods in org.apache.commons.vfs2.operations with parameters of type FileObject Modifier and Type Method Description void
AbstractFileOperationProvider. collectOperations(java.util.Collection<java.lang.Class<? extends FileOperation>> operationsList, FileObject file)
Gather available operations for the specified FileObject and put them into specified operationsList.void
FileOperationProvider. collectOperations(java.util.Collection<java.lang.Class<? extends FileOperation>> operationsList, FileObject file)
Gather available operations for the specified FileObject and put them into specified operationsList.protected abstract void
AbstractFileOperationProvider. doCollectOperations(java.util.Collection<java.lang.Class<? extends FileOperation>> availableOperations, java.util.Collection<java.lang.Class<? extends FileOperation>> resultList, FileObject file)
Gather available operations for the specified FileObject and put them into specified operationsList.FileOperation
AbstractFileOperationProvider. getOperation(FileObject file, java.lang.Class<? extends FileOperation> operationClass)
FileOperation
FileOperationProvider. getOperation(FileObject file, java.lang.Class<? extends FileOperation> operationClass)
Get implementation for a given FileObject and FileOperation interface.protected abstract FileOperation
AbstractFileOperationProvider. instantiateOperation(FileObject file, java.lang.Class<? extends FileOperation> operationClass)
Get operation instance for specified FileOperation subclass.Constructors in org.apache.commons.vfs2.operations with parameters of type FileObject Constructor Description AbstractFileOperation(FileObject file)
DefaultFileOperations(FileObject file)
-
Uses of FileObject in org.apache.commons.vfs2.operations.vcs
Methods in org.apache.commons.vfs2.operations.vcs with parameters of type FileObject Modifier and Type Method Description void
VcsCheckout. setTargetDirectory(FileObject targetDir)
-
Uses of FileObject in org.apache.commons.vfs2.provider
Classes in org.apache.commons.vfs2.provider that implement FileObject Modifier and Type Class Description class
AbstractFileObject<AFS extends AbstractFileSystem>
A partial file object implementation.class
DelegateFileObject<AFS extends AbstractFileSystem>
A file backed by another file.Methods in org.apache.commons.vfs2.provider that return FileObject Modifier and Type Method Description protected abstract FileObject
AbstractFileSystem. createFile(AbstractFileName name)
Creates a file object.FileObject
AbstractFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions properties)
Creates a layered file system.FileObject
AbstractLayeredFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.FileObject
FileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.protected FileObject
AbstractFileSystem. decorateFileObject(FileObject file)
protected FileObject[]
AbstractFileObject. doListChildrenResolved()
Lists the children of this file.FileObject
AbstractLayeredFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.protected FileObject
AbstractOriginatingFileProvider. findFile(FileName name, FileSystemOptions fileSystemOptions)
Locates a file from its parsed URI.FileObject
AbstractOriginatingFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.FileObject
CompositeFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.FileObject
FileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.FileObject[]
AbstractFileObject. findFiles(FileSelector selector)
Finds the set of matching descendants of this file, in depthwise order.FileObject
LocalFileProvider. findLocalFile(java.io.File file)
Converts from java.io.File to FileObject.FileObject
LocalFileProvider. findLocalFile(java.lang.String name)
Finds a local file, from its local name.FileObject
AbstractFileObject. getChild(java.lang.String name)
Returns a child of this file.FileObject[]
AbstractFileObject. getChildren()
Returns the children of the file.FileObject
DelegateFileObject. getDelegateFile()
Get access to the delegated file.FileObject
DefaultFileContent. getFile()
Returns the file that this is the content of.protected FileObject
AbstractFileSystem. getFileFromCache(FileName name)
Returns a cached file.FileObject
AbstractFileObject. getParent()
Returns the parent of the file.FileObject
AbstractFileSystem. getParentLayer()
Returns the parent layer if this is a layered file system.FileObject
AbstractFileSystem. getRoot()
Returns the root file of this file system.FileObject
AbstractFileObject. resolveFile(java.lang.String path)
Finds a file, relative to this file.FileObject
AbstractFileObject. resolveFile(java.lang.String name, NameScope scope)
Returns a child by name.FileObject
AbstractFileSystem. resolveFile(java.lang.String nameStr)
Finds a file in this file system.FileObject
AbstractFileSystem. resolveFile(FileName name)
Finds a file in this file system.FileObject
VfsComponentContext. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)
Locate a file by name.FileObject
VfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)
Locate a file by name.FileObject
VfsComponentContext. toFileObject(java.io.File file)
Returns aFileObject
for a local file.Methods in org.apache.commons.vfs2.provider that return types with arguments of type FileObject Modifier and Type Method Description java.util.Iterator<FileObject>
AbstractFileObject. iterator()
Returns an iterator over a set of all FileObject in this file object.java.util.List<FileObject>
AbstractFileObject. listFiles(FileSelector selector)
Lists the set of matching descendants of this file, in depthwise order.Methods in org.apache.commons.vfs2.provider with parameters of type FileObject Modifier and Type Method Description void
AbstractFileSystem. addJunction(java.lang.String junctionPoint, FileObject targetFile)
Adds a junction to this file system.void
AbstractFileSystem. addListener(FileObject file, FileListener listener)
Adds a listener on a file in this file system.boolean
AbstractFileObject. canRenameTo(FileObject newfile)
Queries the object if a simple rename to the filename ofnewfile
is possible.int
AbstractFileObject. compareTo(FileObject file)
Compares two FileObjects (ignores case).void
AbstractFileObject. copyFrom(FileObject file, FileSelector selector)
Copies another file to this file.FileObject
AbstractFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions properties)
Creates a layered file system.FileObject
AbstractLayeredFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.FileObject
FileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.protected FileObject
AbstractFileSystem. decorateFileObject(FileObject file)
protected abstract FileSystem
AbstractLayeredFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.protected boolean
AbstractFileObject. doIsSameFile(FileObject destFile)
Checks if this fileObject is the same file asdestFile
just with a different name.protected void
AbstractFileObject. doRename(FileObject newFile)
Renames the file.protected void
DelegateFileObject. doRename(FileObject newFile)
Renames the file.protected java.io.File
AbstractFileSystem. doReplicateFile(FileObject file, FileSelector selector)
Creates a temporary local copy of a file and its descendants.FileObject
AbstractLayeredFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.FileObject
AbstractOriginatingFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.FileObject
CompositeFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.FileObject
FileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.void
AbstractFileSystem. fireFileChanged(FileObject file)
Fires a file changed event.void
AbstractFileSystem. fireFileCreated(FileObject file)
Fires a file create event.void
AbstractFileSystem. fireFileDeleted(FileObject file)
Fires a file delete event.protected boolean
AbstractFileObject. isSameFile(FileObject destFile)
Checks if this fileObject is the same file asdestFile
just with a different name.void
AbstractFileObject. moveTo(FileObject destFile)
Moves (rename) the file to another one.protected void
AbstractFileSystem. putFileToCache(FileObject file)
Adds a file object to the cache.void
AbstractFileSystem. removeListener(FileObject file, FileListener listener)
Removes a listener from a file in this file system.java.io.File
AbstractFileSystem. replicateFile(FileObject file, FileSelector selector)
Creates a temporary local copy of a file and its descendants.java.io.File
FileReplicator. replicateFile(FileObject srcFile, FileSelector selector)
Creates a local copy of the file, and all its descendants.FileObject
VfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)
Locate a file by name.void
DelegateFileObject. setFile(FileObject file)
Attaches or detaches the target file.long
DefaultFileContent. write(FileObject file)
Writes this content to another FileObject.Method parameters in org.apache.commons.vfs2.provider with type arguments of type FileObject Modifier and Type Method Description void
AbstractFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
Traverses the descendants of this file, and builds a list of selected files.Constructors in org.apache.commons.vfs2.provider with parameters of type FileObject Constructor Description AbstractFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
DelegateFileObject(AbstractFileName name, AFS fileSystem, FileObject file)
-
Uses of FileObject in org.apache.commons.vfs2.provider.bzip2
Classes in org.apache.commons.vfs2.provider.bzip2 that implement FileObject Modifier and Type Class Description class
Bzip2FileObject
the bzip2 file.Methods in org.apache.commons.vfs2.provider.bzip2 that return FileObject Modifier and Type Method Description protected FileObject
Bzip2FileSystem. createFile(AbstractFileName name)
Methods in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileObject Modifier and Type Method Description protected FileSystem
Bzip2FileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)
Constructors in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileObject Constructor Description Bzip2FileObject(AbstractFileName name, FileObject container, Bzip2FileSystem fs)
Bzip2FileObject(AbstractFileName name, FileObject container, CompressedFileFileSystem fs)
Deprecated.Bzip2FileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
-
Uses of FileObject in org.apache.commons.vfs2.provider.compressed
Classes in org.apache.commons.vfs2.provider.compressed that implement FileObject Modifier and Type Class Description class
CompressedFileFileObject<FS extends CompressedFileFileSystem>
A compressed file.Methods in org.apache.commons.vfs2.provider.compressed that return FileObject Modifier and Type Method Description protected abstract FileObject
CompressedFileFileSystem. createFile(AbstractFileName name)
Creates a file object.protected FileObject
CompressedFileFileObject. getContainer()
Methods in org.apache.commons.vfs2.provider.compressed with parameters of type FileObject Modifier and Type Method Description protected abstract FileSystem
CompressedFileFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)
protected FileSystem
CompressedFileFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.compressed with parameters of type FileObject Constructor Description CompressedFileFileObject(AbstractFileName name, FileObject container, FS fs)
CompressedFileFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
-
Uses of FileObject in org.apache.commons.vfs2.provider.ftp
Classes in org.apache.commons.vfs2.provider.ftp that implement FileObject Modifier and Type Class Description class
FtpFileObject
An FTP file.Methods in org.apache.commons.vfs2.provider.ftp that return FileObject Modifier and Type Method Description protected FileObject
FtpFileSystem. createFile(AbstractFileName name)
Creates a file object.protected FileObject[]
FtpFileObject. doListChildrenResolved()
FileObject[]
FtpFileObject. getChildren()
Returns the file's list of children.Methods in org.apache.commons.vfs2.provider.ftp with parameters of type FileObject Modifier and Type Method Description protected void
FtpFileObject. doRename(FileObject newFile)
Renames the file -
Uses of FileObject in org.apache.commons.vfs2.provider.gzip
Classes in org.apache.commons.vfs2.provider.gzip that implement FileObject Modifier and Type Class Description class
GzipFileObject
the gzip file.Methods in org.apache.commons.vfs2.provider.gzip that return FileObject Modifier and Type Method Description protected FileObject
GzipFileSystem. createFile(AbstractFileName name)
Methods in org.apache.commons.vfs2.provider.gzip with parameters of type FileObject Modifier and Type Method Description protected FileSystem
GzipFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)
Constructors in org.apache.commons.vfs2.provider.gzip with parameters of type FileObject Constructor Description GzipFileObject(AbstractFileName name, FileObject container, CompressedFileFileSystem fs)
Deprecated.GzipFileObject(AbstractFileName name, FileObject container, GzipFileSystem fs)
GzipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
-
Uses of FileObject in org.apache.commons.vfs2.provider.http
Classes in org.apache.commons.vfs2.provider.http that implement FileObject Modifier and Type Class Description class
HttpFileObject<FS extends HttpFileSystem>
A file object backed by Apache Commons HttpClient.Methods in org.apache.commons.vfs2.provider.http that return FileObject Modifier and Type Method Description protected FileObject
HttpFileSystem. createFile(AbstractFileName name)
Creates a file object. -
Uses of FileObject in org.apache.commons.vfs2.provider.jar
Classes in org.apache.commons.vfs2.provider.jar that implement FileObject Modifier and Type Class Description class
JarFileObject
A file in a Jar file system.Methods in org.apache.commons.vfs2.provider.jar with parameters of type FileObject Modifier and Type Method Description protected FileSystem
JarFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.jar with parameters of type FileObject Constructor Description JarFileSystem(AbstractFileName rootName, FileObject file, FileSystemOptions fileSystemOptions)
-
Uses of FileObject in org.apache.commons.vfs2.provider.local
Classes in org.apache.commons.vfs2.provider.local that implement FileObject Modifier and Type Class Description class
LocalFile
A file object implementation which uses direct file access.Methods in org.apache.commons.vfs2.provider.local that return FileObject Modifier and Type Method Description protected FileObject
LocalFileSystem. createFile(AbstractFileName name)
Creates a file object.FileObject
DefaultLocalFileProvider. findLocalFile(java.io.File file)
Finds a local file.FileObject
DefaultLocalFileProvider. findLocalFile(java.lang.String name)
Finds a local file, from its local name.Methods in org.apache.commons.vfs2.provider.local with parameters of type FileObject Modifier and Type Method Description protected boolean
LocalFile. doIsSameFile(FileObject destFile)
protected void
LocalFile. doRename(FileObject newFile)
rename this fileprotected java.io.File
LocalFileSystem. doReplicateFile(FileObject fileObject, FileSelector selector)
Creates a temporary local copy of a file and its descendants. -
Uses of FileObject in org.apache.commons.vfs2.provider.ram
Classes in org.apache.commons.vfs2.provider.ram that implement FileObject Modifier and Type Class Description class
RamFileObject
A RAM File contains a single RAM FileData instance, it provides methods to access the data by implementing FileObject interface.Methods in org.apache.commons.vfs2.provider.ram that return FileObject Modifier and Type Method Description protected FileObject
RamFileSystem. createFile(AbstractFileName name)
Methods in org.apache.commons.vfs2.provider.ram with parameters of type FileObject Modifier and Type Method Description protected void
RamFileObject. doRename(FileObject newFile)
-
Uses of FileObject in org.apache.commons.vfs2.provider.res
Methods in org.apache.commons.vfs2.provider.res that return FileObject Modifier and Type Method Description FileObject
ResourceFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.Methods in org.apache.commons.vfs2.provider.res with parameters of type FileObject Modifier and Type Method Description FileObject
ResourceFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI. -
Uses of FileObject in org.apache.commons.vfs2.provider.sftp
Classes in org.apache.commons.vfs2.provider.sftp that implement FileObject Modifier and Type Class Description class
SftpFileObject
An SFTP file.Methods in org.apache.commons.vfs2.provider.sftp that return FileObject Modifier and Type Method Description protected FileObject
SftpFileSystem. createFile(AbstractFileName name)
Creates a file object.protected FileObject[]
SftpFileObject. doListChildrenResolved()
Lists the children of this file.Methods in org.apache.commons.vfs2.provider.sftp with parameters of type FileObject Modifier and Type Method Description protected void
SftpFileObject. doRename(FileObject newFile)
Rename the file. -
Uses of FileObject in org.apache.commons.vfs2.provider.tar
Classes in org.apache.commons.vfs2.provider.tar that implement FileObject Modifier and Type Class Description class
TarFileObject
A file in a Tar file system.Methods in org.apache.commons.vfs2.provider.tar that return FileObject Modifier and Type Method Description protected FileObject
TarFileSystem. createFile(AbstractFileName name)
Creates a file object.Methods in org.apache.commons.vfs2.provider.tar with parameters of type FileObject Modifier and Type Method Description protected FileSystem
TarFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.Constructors in org.apache.commons.vfs2.provider.tar with parameters of type FileObject Constructor Description TarFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
-
Uses of FileObject in org.apache.commons.vfs2.provider.temp
Methods in org.apache.commons.vfs2.provider.temp that return FileObject Modifier and Type Method Description FileObject
TemporaryFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions properties)
Locates a file object, by absolute URI.Methods in org.apache.commons.vfs2.provider.temp with parameters of type FileObject Modifier and Type Method Description FileObject
TemporaryFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions properties)
Locates a file object, by absolute URI. -
Uses of FileObject in org.apache.commons.vfs2.provider.url
Classes in org.apache.commons.vfs2.provider.url that implement FileObject Modifier and Type Class Description class
UrlFileObject
AFileObject
implementation backed by aURL
.Methods in org.apache.commons.vfs2.provider.url that return FileObject Modifier and Type Method Description protected FileObject
UrlFileSystem. createFile(AbstractFileName name)
Creates a file object.FileObject
UrlFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.Methods in org.apache.commons.vfs2.provider.url with parameters of type FileObject Modifier and Type Method Description FileObject
UrlFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI. -
Uses of FileObject in org.apache.commons.vfs2.provider.zip
Classes in org.apache.commons.vfs2.provider.zip that implement FileObject Modifier and Type Class Description class
ZipFileObject
A file in a ZIP file system.Methods in org.apache.commons.vfs2.provider.zip that return FileObject Modifier and Type Method Description protected FileObject
ZipFileSystem. createFile(AbstractFileName name)
Creates a file object.protected FileObject
ZipFileSystem. getFileFromCache(FileName name)
Returns a cached file.Methods in org.apache.commons.vfs2.provider.zip with parameters of type FileObject Modifier and Type Method Description protected FileSystem
ZipFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.protected void
ZipFileSystem. putFileToCache(FileObject file)
Adds a file object to the cache.Constructors in org.apache.commons.vfs2.provider.zip with parameters of type FileObject Constructor Description ZipFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
-
Uses of FileObject in org.apache.commons.vfs2.tasks
Methods in org.apache.commons.vfs2.tasks that return FileObject Modifier and Type Method Description protected FileObject
VfsTask. resolveFile(java.lang.String uri)
Resolves a URI to a file, relative to the project's base directory.Methods in org.apache.commons.vfs2.tasks with parameters of type FileObject Modifier and Type Method Description protected void
AbstractSyncTask. handleMissingSourceFile(FileObject destFile)
Handles a destination for which there is no corresponding source file.protected void
SyncTask. handleMissingSourceFile(FileObject destFile)
Handles a destination for which there is no corresponding source file.protected void
AbstractSyncTask. handleOutOfDateFile(FileObject srcFile, FileObject destFile)
Handles an out-of-date file.protected void
CopyTask. handleOutOfDateFile(FileObject srcFile, FileObject destFile)
Handles an out-of-date file.protected void
MoveTask. handleOutOfDateFile(FileObject srcFile, FileObject destFile)
Handles a single source file.protected void
AbstractSyncTask. handleUpToDateFile(FileObject srcFile, FileObject destFile)
Handles an up-to-date file.protected void
CopyTask. handleUpToDateFile(FileObject srcFile, FileObject destFile)
Handles an up-to-date file. -
Uses of FileObject in org.apache.commons.vfs2.util
Methods in org.apache.commons.vfs2.util with parameters of type FileObject Modifier and Type Method Description static AbstractFileObject
FileObjectUtils. getAbstractFileObject(FileObject fileObject)
Get access to the base object even if decorated.static void
WeakRefFileListener. installListener(FileObject file, FileListener listener)
This will install thelistener
at the givenfile
.static boolean
FileObjectUtils. isInstanceOf(FileObject fileObject, java.lang.Class<?> wantedClass)
Check if the given FileObject is instance of given class argument.Constructors in org.apache.commons.vfs2.util with parameters of type FileObject Constructor Description WeakRefFileListener(FileObject file, FileListener listener)
-