Uses of Interface
org.apache.commons.vfs2.FileObject
-
-
Uses of FileObject in org.apache.commons.vfs2
Fields in org.apache.commons.vfs2 declared as FileObject Modifier and Type Field Description static FileObject[]FileObject. EMPTY_ARRAYAn empty immutableFileObjectarray.Methods in org.apache.commons.vfs2 that return FileObject Modifier and Type Method Description FileObjectFileSystemManager. createFileSystem(java.lang.String provider, FileObject file)Creates a layered file system.FileObjectFileSystemManager. createFileSystem(FileObject file)Creates a layered file system.FileObjectFileSystemManager. createVirtualFileSystem(java.lang.String rootUri)Creates an empty virtual file system.FileObjectFileSystemManager. 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.FileObjectFileSystemManager. getBaseFile()Returns the base file used to resolve relative paths.FileObjectFileSelectInfo. getBaseFolder()Gets the base folder of the traversal.FileObjectFileObject. getChild(java.lang.String name)Gets a child of this file.FileObject[]FileObject. getChildren()Gets a lists of children of this file.FileObjectFileChangeEvent. getFile()Deprecated.FileObjectFileContent. getFile()Gets the file which this is the content of.FileObjectFilesCache. getFile(FileSystem fileSystem, FileName fileName)Retrieves a FileObject from the cache by name.FileObjectFileSelectInfo. getFile()Gets the file (or folder) to be considered.FileObjectFileChangeEvent. getFileObject()Returns the file that changed.FileObjectFileObject. getParent()Gets the folder that contains this file.FileObjectFileSystem. getParentLayer()Returns the parent layer if this is a layered file system.FileObjectFileSystem. getRoot()Returns the root file of this file system.FileObjectFileObject. resolveFile(java.lang.String path)Finds a file, relative to this file.FileObjectFileObject. resolveFile(java.lang.String name, NameScope scope)Finds a file relative to this file.FileObjectFileSystem. resolveFile(java.lang.String name)Finds a file in this file system.FileObjectFileSystem. resolveFile(FileName name)Finds a file in this file system.FileObjectFileSystemManager. resolveFile(java.io.File baseFile, java.lang.String name)Locates a file by name.FileObjectFileSystemManager. resolveFile(java.lang.String name)Locates a file by name.FileObjectFileSystemManager. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)Locates a file by name.FileObjectFileSystemManager. resolveFile(java.net.URI uri)Resolves a URI into aFileObject.FileObjectFileSystemManager. resolveFile(java.net.URL url)Resolves a URL into aFileObject.FileObjectFileSystemManager. resolveFile(FileObject baseFile, java.lang.String name)Locates a file by name.FileObjectFileSystemManager. toFileObject(java.io.File file)Converts a local file into aFileObject.default FileObjectFileSystemManager. toFileObject(java.nio.file.Path path)Converts a local path into aFileObject.Methods in org.apache.commons.vfs2 with parameters of type FileObject Modifier and Type Method Description voidFileMonitor. addFile(FileObject file)Adds a file to be monitored.voidFileSystem. addJunction(java.lang.String junctionPoint, FileObject targetFile)Adds a junction to this file system.voidFileSystem. addListener(FileObject file, FileListener listener)Adds a listener on a file in this file system.booleanFileSystemManager. canCreateFileSystem(FileObject file)Determines if a layered file system can be created for a given file.booleanFileObject. canRenameTo(FileObject newfile)Queries the file if it is possible to rename it to newfile.static voidFileUtil. copyContent(FileObject srcFile, FileObject destFile)Deprecated.voidFileObject. copyFrom(FileObject srcFile, FileSelector selector)Copies another file, and all its descendants, to this file.FileObjectFileSystemManager. createFileSystem(java.lang.String provider, FileObject file)Creates a layered file system.FileObjectFileSystemManager. createFileSystem(FileObject file)Creates a layered file system.FileObjectFileSystemManager. createVirtualFileSystem(FileObject rootFile)Creates a virtual file system.static byte[]FileUtil. getContent(FileObject file)Deprecated.voidFileObject. moveTo(FileObject destFile)Move this file.voidFilesCache. putFile(FileObject file)Adds a FileObject to the cache.booleanFilesCache. putFileIfAbsent(FileObject file)Adds a FileObject to the cache if it isn't already present.voidFileMonitor. removeFile(FileObject file)Removes a file from being monitored.voidFileSystem. removeListener(FileObject file, FileListener listener)Removes a listener from a file in this file system.java.io.FileFileSystem. replicateFile(FileObject file, FileSelector selector)Creates a temporary local copy of a file and its descendants.FileObjectFileSystemManager. resolveFile(FileObject baseFile, java.lang.String name)Locates a file by name.longFileContent. write(FileObject file)Writes this content to another FileObject.static voidFileUtil. writeContent(FileObject file, java.io.OutputStream output)Deprecated.Method parameters in org.apache.commons.vfs2 with type arguments of type FileObject Modifier and Type Method Description voidFileObject. 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 fileObject)Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.cache
Classes in org.apache.commons.vfs2.cache that implement FileObject Modifier and Type Class Description classOnCallRefreshFileObjectThis 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)FileObjectOnCallRefreshFileObject. getChild(java.lang.String name)FileObject[]OnCallRefreshFileObject. getChildren()FileObjectDefaultFilesCache. getFile(FileSystem filesystem, FileName name)FileObjectLRUFilesCache. getFile(FileSystem filesystem, FileName name)FileObjectNullFilesCache. getFile(FileSystem filesystem, FileName name)FileObjectSoftRefFilesCache. getFile(FileSystem fileSystem, FileName fileName)FileObjectOnCallRefreshFileObject. resolveFile(java.lang.String path)FileObjectOnCallRefreshFileObject. 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> referenceQueue)Constructs a new Reference.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)Gets or creates a Map.protected java.util.Map<FileName,FileObject>LRUFilesCache. getOrCreateFilesystemCache(FileSystem fileSystem)Gets or creates a new Map.protected java.util.Map<FileName,java.lang.ref.Reference<FileObject>>SoftRefFilesCache. getOrCreateFilesystemCache(FileSystem fileSystem)Gets or creates a new Map.Methods in org.apache.commons.vfs2.cache with parameters of type FileObject Modifier and Type Method Description voidOnCallRefreshFileObject. copyFrom(FileObject srcFile, FileSelector selector)protected java.lang.ref.Reference<FileObject>SoftRefFilesCache. createReference(FileObject file, java.lang.ref.ReferenceQueue<FileObject> referenceQueue)Constructs a new Reference.protected java.lang.ref.Reference<FileObject>WeakRefFilesCache. createReference(FileObject file, java.lang.ref.ReferenceQueue<FileObject> refqueue)voidOnCallRefreshFileObject. moveTo(FileObject destFile)voidDefaultFilesCache. putFile(FileObject file)voidLRUFilesCache. putFile(FileObject file)voidNullFilesCache. putFile(FileObject file)voidSoftRefFilesCache. putFile(FileObject fileObject)booleanDefaultFilesCache. putFileIfAbsent(FileObject file)booleanLRUFilesCache. putFileIfAbsent(FileObject file)booleanNullFilesCache. putFileIfAbsent(FileObject file)booleanSoftRefFilesCache. putFileIfAbsent(FileObject fileObject)voidAbstractFilesCache. touchFile(FileObject file)Default implementation is a NOOP.voidLRUFilesCache. 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> referenceQueue)Constructs a new Reference.protected java.lang.ref.Reference<FileObject>WeakRefFilesCache. createReference(FileObject file, java.lang.ref.ReferenceQueue<FileObject> refqueue)voidOnCallRefreshFileObject. 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)Constructs a new instance to decorate the given file object. -
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 fileObject)Constructs a new instance for subclasses.ChangedEvent(FileObject fileObject)Constructs a new instance.CreateEvent(FileObject fileObject)Constructs a new instance.DeleteEvent(FileObject fileObject)Constructs a new instance. -
Uses of FileObject in org.apache.commons.vfs2.filter
Constructors in org.apache.commons.vfs2.filter with parameters of type FileObject Constructor Description AgeFileFilter(FileObject cutoffReference)Constructs a new age file filter for files older than (at or before) a certain File (whose last modification time will be used as reference).AgeFileFilter(FileObject cutoffReference, boolean acceptOlder)Constructs a new age file filter for files on any one side of a certain File (whose last modification time will be used as reference). -
Uses of FileObject in org.apache.commons.vfs2.impl
Classes in org.apache.commons.vfs2.impl that implement FileObject Modifier and Type Class Description classDecoratedFileObjectBase class to build a FileObject decoration.classSynchronizedFileObjectThis decorator synchronizes all access to the FileObject.Methods in org.apache.commons.vfs2.impl that return FileObject Modifier and Type Method Description protected FileObjectVirtualFileSystem. createFile(AbstractFileName name)Creates a file object.FileObjectDefaultFileSystemManager. createFileSystem(java.lang.String scheme, FileObject file)Creates a layered file system.FileObjectDefaultFileSystemManager. createFileSystem(FileObject file)Creates a layered file system.FileObjectVirtualFileProvider. createFileSystem(java.lang.String rootUri)Creates an empty virtual file system.FileObjectVirtualFileProvider. createFileSystem(FileObject rootFile)Creates a virtual file system, with the supplied file as its root.FileObjectDefaultFileSystemManager. createVirtualFileSystem(java.lang.String rootUri)Creates an empty virtual file system.FileObjectDefaultFileSystemManager. createVirtualFileSystem(FileObject rootFile)Creates a virtual file system.FileObject[]DecoratedFileObject. findFiles(FileSelector selector)FileObject[]SynchronizedFileObject. findFiles(FileSelector selector)FileObjectDefaultFileSystemManager. getBaseFile()Gets the base file used to resolve relative URI.FileObjectDecoratedFileObject. getChild(java.lang.String name)FileObjectSynchronizedFileObject. getChild(java.lang.String name)FileObject[]DecoratedFileObject. getChildren()FileObject[]SynchronizedFileObject. getChildren()FileObjectDecoratedFileObject. getDecoratedFileObject()Gets the decorated fileObject.FileObject[]VFSClassLoader. getFileObjects()Provide access to the file objects this class loader represents.FileObjectDecoratedFileObject. getParent()FileObjectDecoratedFileObject. resolveFile(java.lang.String path)FileObjectDecoratedFileObject. resolveFile(java.lang.String name, NameScope scope)FileObjectDefaultFileSystemManager. resolveFile(java.io.File baseFile, java.lang.String uri)Resolves a URI, relative to base file.FileObjectDefaultFileSystemManager. resolveFile(java.lang.String uri)Locates a file by URI.FileObjectDefaultFileSystemManager. resolveFile(java.lang.String uri, FileSystemOptions fileSystemOptions)Resolves a file by URI, use the FileSystemOptions for file-system creation.FileObjectDefaultFileSystemManager. resolveFile(java.net.URI uri)Resolves a URI into aFileObject.FileObjectDefaultFileSystemManager. resolveFile(java.net.URL url)Resolves a URL into aFileObject.FileObjectDefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri)Resolves a URI, relative to a base file.FileObjectDefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Resolves a URI, relative to a base file with specified FileSystem configuration.FileObjectSynchronizedFileObject. resolveFile(java.lang.String path)FileObjectSynchronizedFileObject. resolveFile(java.lang.String name, NameScope scope)FileObjectDefaultFileSystemManager. 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 voidDefaultFileMonitor. addFile(FileObject file)Adds a file to be monitored.voidVirtualFileSystem. addJunction(java.lang.String junctionPoint, FileObject targetFile)Adds a junction to this file system.booleanDefaultFileSystemManager. canCreateFileSystem(FileObject file)Tests if a layered file system can be created for a given file.booleanDecoratedFileObject. canRenameTo(FileObject newfile)intDecoratedFileObject. compareTo(FileObject fo)voidDecoratedFileObject. copyFrom(FileObject srcFile, FileSelector selector)voidSynchronizedFileObject. copyFrom(FileObject srcFile, FileSelector selector)FileObjectDefaultFileSystemManager. createFileSystem(java.lang.String scheme, FileObject file)Creates a layered file system.FileObjectDefaultFileSystemManager. createFileSystem(FileObject file)Creates a layered file system.FileObjectVirtualFileProvider. createFileSystem(FileObject rootFile)Creates a virtual file system, with the supplied file as its root.FileObjectDefaultFileSystemManager. createVirtualFileSystem(FileObject rootFile)Creates a virtual file system.voidDecoratedFileObject. moveTo(FileObject destFile)voidSynchronizedFileObject. moveTo(FileObject destFile)protected voidDefaultFileMonitor. queueAddFile(FileObject file)Queues a file for addition to be monitored.protected voidDefaultFileMonitor. queueRemoveFile(FileObject file)Queues a file for removal from being monitored.voidDefaultFileMonitor. removeFile(FileObject file)Removes a file from being monitored.java.io.FileDefaultFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)Creates a local copy of the file, and all its descendants.java.io.FilePrivilegedFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)Creates a local copy of the file, and all its descendants.FileObjectDefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri)Resolves a URI, relative to a base file.FileObjectDefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Resolves a URI, relative to a base file with specified FileSystem configuration.voidDefaultFileSystemManager. 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 voidDecoratedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)voidSynchronizedFileObject. 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 fileObject)Constructs a new instance to decorate the given FileObject.SynchronizedFileObject(FileObject fileObject)Constructs a new instance.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 FileObjectAbstractFileOperation. getFileObject()Gets the instance of FileObject for this FileOperation.Methods in org.apache.commons.vfs2.operations with parameters of type FileObject Modifier and Type Method Description voidAbstractFileOperationProvider. 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.voidFileOperationProvider. 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 voidAbstractFileOperationProvider. 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.FileOperationAbstractFileOperationProvider. getOperation(FileObject file, java.lang.Class<? extends FileOperation> operationClass)FileOperationFileOperationProvider. getOperation(FileObject file, java.lang.Class<? extends FileOperation> operationClass)Gets implementation for a given FileObject and FileOperation interface.protected abstract FileOperationAbstractFileOperationProvider. instantiateOperation(FileObject file, java.lang.Class<? extends FileOperation> operationClass)Gets operation instance for specified FileOperation subclass.Constructors in org.apache.commons.vfs2.operations with parameters of type FileObject Constructor Description AbstractFileOperation(FileObject file)Constructs a new instance for subclasses.DefaultFileOperations(FileObject file)Constructs a new instance. -
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 voidVcsCheckout. setTargetDirectory(FileObject targetDir)Sets directory under which retrieved files should be placed. -
Uses of FileObject in org.apache.commons.vfs2.provider
Classes in org.apache.commons.vfs2.provider that implement FileObject Modifier and Type Class Description classAbstractFileObject<AFS extends AbstractFileSystem>A partial file object implementation.classDelegateFileObject<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 FileObjectAbstractFileSystem. createFile(AbstractFileName name)Creates a file object.FileObjectAbstractFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.FileObjectAbstractLayeredFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.FileObjectFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected FileObjectAbstractFileSystem. decorateFileObject(FileObject file)Decorates the given file object.protected FileObject[]AbstractFileObject. doListChildrenResolved()Lists the children of this file.FileObjectAbstractLayeredFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.protected FileObjectAbstractOriginatingFileProvider. findFile(FileName fileName, FileSystemOptions fileSystemOptions)Locates a file from its parsed URI.FileObjectAbstractOriginatingFileProvider. findFile(FileObject baseFileObject, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObjectCompositeFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObjectFileProvider. 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.FileObjectLocalFileProvider. findLocalFile(java.io.File file)Converts from java.io.File to FileObject.FileObjectLocalFileProvider. findLocalFile(java.lang.String name)Finds a local file, from its local name.FileObjectAbstractFileObject. getChild(java.lang.String name)Returns a child of this file.FileObject[]AbstractFileObject. getChildren()Returns the children of the file.FileObjectDelegateFileObject. getDelegateFile()Gets access to the delegated file.FileObjectDefaultFileContent. getFile()Returns the file that this is the content of.protected FileObjectAbstractFileSystem. getFileFromCache(FileName name)Gets a cached file.FileObjectAbstractFileObject. getParent()Returns the parent of the file.FileObjectAbstractFileSystem. getParentLayer()Gets the parent layer if this is a layered file system.FileObjectAbstractFileSystem. getRoot()Gets the root file of this file system.FileObjectAbstractFileObject. resolveFile(java.lang.String path)Finds a file, relative to this file.FileObjectAbstractFileObject. resolveFile(java.lang.String name, NameScope scope)Returns a child by name.FileObjectAbstractFileSystem. resolveFile(java.lang.String nameStr)Finds a file in this file system.FileObjectAbstractFileSystem. resolveFile(FileName name)Finds a file in this file system.FileObjectVfsComponentContext. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)Resolves a file by name.FileObjectVfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)Resolves a file by name.FileObjectVfsComponentContext. toFileObject(java.io.File file)Returns aFileObjectfor 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 voidAbstractFileSystem. addJunction(java.lang.String junctionPoint, FileObject targetFile)Adds a junction to this file system.voidAbstractFileSystem. addListener(FileObject file, FileListener listener)Adds a listener on a file in this file system.booleanAbstractFileObject. canRenameTo(FileObject newfile)Queries the object if a simple rename to the file name ofnewfileis possible.intAbstractFileObject. compareTo(FileObject file)Compares two FileObjects (ignores case).voidAbstractFileObject. copyFrom(FileObject file, FileSelector selector)Copies another file to this file.FileObjectAbstractFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.FileObjectAbstractLayeredFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.FileObjectFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected FileObjectAbstractFileSystem. decorateFileObject(FileObject file)Decorates the given file object.protected abstract FileSystemAbstractLayeredFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected booleanAbstractFileObject. doIsSameFile(FileObject destFile)Checks if this fileObject is the same file asdestFilejust with a different name.protected voidAbstractFileObject. doRename(FileObject newFile)Renames the file.protected voidDelegateFileObject. doRename(FileObject newFile)Renames the file.protected java.io.FileAbstractFileSystem. doReplicateFile(FileObject file, FileSelector selector)Creates a temporary local copy of a file and its descendants.FileObjectAbstractLayeredFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObjectAbstractOriginatingFileProvider. findFile(FileObject baseFileObject, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObjectCompositeFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObjectFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.voidAbstractFileSystem. fireFileChanged(FileObject file)Fires a file changed event.voidAbstractFileSystem. fireFileCreated(FileObject file)Fires a file create event.voidAbstractFileSystem. fireFileDeleted(FileObject file)Fires a file delete event.protected booleanAbstractFileObject. isSameFile(FileObject destFile)Checks if this fileObject is the same file asdestFilejust with a different name.voidAbstractFileObject. moveTo(FileObject destFile)Moves (rename) the file to another one.protected voidAbstractFileSystem. putFileToCache(FileObject file)Adds a file object to the cache.voidAbstractFileSystem. removeListener(FileObject file, FileListener listener)Removes a listener from a file in this file system.java.io.FileAbstractFileSystem. replicateFile(FileObject file, FileSelector selector)Creates a temporary local copy of a file and its descendants.java.io.FileFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)Creates a local copy of the file, and all its descendants.FileObjectVfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)Resolves a file by name.voidDelegateFileObject. setFile(FileObject fileObject)Attaches or detaches the target file.longDefaultFileContent. 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 voidAbstractFileObject. 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)Constructs a new instance.DelegateFileObject(AbstractFileName fileName, AFS fileSystem, FileObject fileObject)Constructs a new instance. -
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 classBzip2FileObjectthe bzip2 file.Methods in org.apache.commons.vfs2.provider.bzip2 that return FileObject Modifier and Type Method Description protected FileObjectBzip2FileSystem. createFile(AbstractFileName name)Methods in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileObject Modifier and Type Method Description protected FileSystemBzip2FileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)Constructors in org.apache.commons.vfs2.provider.bzip2 with parameters of type FileObject Constructor Description Bzip2FileObject(AbstractFileName fileName, FileObject container, Bzip2FileSystem fileSystem)Constructs a new instance.Bzip2FileObject(AbstractFileName name, FileObject container, CompressedFileFileSystem fs)Deprecated.Bzip2FileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)Constructs a new instance. -
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 classCompressedFileFileObject<FS extends CompressedFileFileSystem>A compressed file.Methods in org.apache.commons.vfs2.provider.compressed that return FileObject Modifier and Type Method Description protected abstract FileObjectCompressedFileFileSystem. createFile(AbstractFileName name)Creates a file object.protected FileObjectCompressedFileFileObject. getContainer()Gets the container.Methods in org.apache.commons.vfs2.provider.compressed with parameters of type FileObject Modifier and Type Method Description protected abstract FileSystemCompressedFileFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)Create a FileSystem.protected FileSystemCompressedFileFileProvider. 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 fileName, FileObject container, FS fileSystem)Constructs a new instance.CompressedFileFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)Constructs a new instance. -
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 classFtpFileObjectAn FTP file.Methods in org.apache.commons.vfs2.provider.ftp that return FileObject Modifier and Type Method Description protected FileObjectFtpFileSystem. 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 voidFtpFileObject. 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 classGzipFileObjectA Gzip file.Methods in org.apache.commons.vfs2.provider.gzip that return FileObject Modifier and Type Method Description protected FileObjectGzipFileSystem. createFile(AbstractFileName name)Methods in org.apache.commons.vfs2.provider.gzip with parameters of type FileObject Modifier and Type Method Description protected FileSystemGzipFileProvider. 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 fileName, FileObject container, GzipFileSystem fileSystem)Constructs a new instance.GzipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)Constructs a new instance. -
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 classHttpFileObject<FS extends HttpFileSystem>Deprecated.Useorg.apache.commons.vfs2.provider.http5.Methods in org.apache.commons.vfs2.provider.http that return FileObject Modifier and Type Method Description protected FileObjectHttpFileSystem. createFile(AbstractFileName name)Deprecated.Creates a file object. -
Uses of FileObject in org.apache.commons.vfs2.provider.http4
Classes in org.apache.commons.vfs2.provider.http4 that implement FileObject Modifier and Type Class Description classHttp4FileObject<FS extends Http4FileSystem>Deprecated.Useorg.apache.commons.vfs2.provider.http5.Methods in org.apache.commons.vfs2.provider.http4 that return FileObject Modifier and Type Method Description protected FileObjectHttp4FileSystem. createFile(AbstractFileName name)Deprecated. -
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 classJarFileObjectA 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 FileSystemJarFileProvider. 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 rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions)Constructs a new instance. -
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 classLocalFileA 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 FileObjectLocalFileSystem. createFile(AbstractFileName name)Creates a file object.FileObjectDefaultLocalFileProvider. findLocalFile(java.io.File file)Finds a local file.FileObjectDefaultLocalFileProvider. 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 booleanLocalFile. doIsSameFile(FileObject destFile)protected voidLocalFile. doRename(FileObject newFile)rename this fileprotected java.io.FileLocalFileSystem. 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 classRamFileObjectA 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 FileObjectRamFileSystem. createFile(AbstractFileName name)Methods in org.apache.commons.vfs2.provider.ram with parameters of type FileObject Modifier and Type Method Description protected voidRamFileObject. 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 FileObjectResourceFileProvider. 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 FileObjectResourceFileProvider. 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 classSftpFileObjectAn SFTP file.Methods in org.apache.commons.vfs2.provider.sftp that return FileObject Modifier and Type Method Description protected FileObjectSftpFileSystem. 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 voidSftpFileObject. doRename(FileObject newFile)Renames 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 classTarFileObjectA file in a Tar file system.Methods in org.apache.commons.vfs2.provider.tar that return FileObject Modifier and Type Method Description protected FileObjectTarFileSystem. createFile(AbstractFileName name)Creates a file object.protected FileObjectTarFileSystem. getFileFromCache(FileName name)Returns a cached file.Methods in org.apache.commons.vfs2.provider.tar with parameters of type FileObject Modifier and Type Method Description protected FileSystemTarFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected voidTarFileSystem. putFileToCache(FileObject file)Adds a file object to the cache.Constructors in org.apache.commons.vfs2.provider.tar with parameters of type FileObject Constructor Description TarFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions)Constructs a new instance. -
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 FileObjectTemporaryFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)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 FileObjectTemporaryFileProvider. 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.url
Classes in org.apache.commons.vfs2.provider.url that implement FileObject Modifier and Type Class Description classUrlFileObjectAFileObjectimplementation backed by aURL.Methods in org.apache.commons.vfs2.provider.url that return FileObject Modifier and Type Method Description protected FileObjectUrlFileSystem. createFile(AbstractFileName name)Creates a file object.FileObjectUrlFileProvider. findFile(FileObject baseFile, java.lang.String fileUri, 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 FileObjectUrlFileProvider. findFile(FileObject baseFile, java.lang.String fileUri, 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 classZipFileObjectA file in a ZIP file system.Methods in org.apache.commons.vfs2.provider.zip that return FileObject Modifier and Type Method Description protected FileObjectZipFileSystem. createFile(AbstractFileName name)Creates a file object.protected FileObjectZipFileSystem. getFileFromCache(FileName name)Gets a cached file.Methods in org.apache.commons.vfs2.provider.zip with parameters of type FileObject Modifier and Type Method Description protected FileSystemZipFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected voidZipFileSystem. 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 rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions)Constructs a new instance. -
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 booleanFileObjectUtils. exists(FileObject fileObject)Null-safe call toexists().static AbstractFileObjectFileObjectUtils. getAbstractFileObject(FileObject fileObject)Gets access to the base object even if decorated.static byte[]FileObjectUtils. getContentAsByteArray(FileObject file)Gets the content of a file object, as a byte array.static java.lang.StringFileObjectUtils. getContentAsString(FileObject file, java.lang.String charset)Returns the content of a file as a String.static java.lang.StringFileObjectUtils. getContentAsString(FileObject file, java.nio.charset.Charset charset)Gets the content of a file as a String.static voidWeakRefFileListener. installListener(FileObject file, FileListener listener)Install thelistenerat the givenfile.static booleanFileObjectUtils. isInstanceOf(FileObject fileObject, java.lang.Class<?> wantedClass)Checks if the given FileObject is instance of given class argument.static java.util.PropertiesFileObjectUtils. readProperties(FileObject fileObject)Reads the given file into a newProperties.static java.util.PropertiesFileObjectUtils. readProperties(FileObject fileObject, java.util.Properties properties)Reads the given file into a new givenProperties.static voidFileObjectUtils. writeContent(FileObject file, java.io.OutputStream output)Writes the content of a file to an OutputStream.static voidFileObjectUtils. writeContent(FileObject srcFile, FileObject destFile)Writes the content from a source file to a destination file.Constructors in org.apache.commons.vfs2.util with parameters of type FileObject Constructor Description WeakRefFileListener(FileObject file, FileListener listener)Constructs a new instance.
-