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_ARRAY
An empty immutableFileObject
array.private FileObject
FileChangeEvent. fileObject
The file objectMethods 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()
Deprecated.FileObject
FileContent. getFile()
Gets the file which this is the content of.FileObject
FilesCache. getFile(FileSystem fileSystem, FileName fileName)
Retrieves a FileObject from the cache by name.FileObject
FileSelectInfo. getFile()
Returns the file (or folder) to be considered.FileObject
FileChangeEvent. getFileObject()
Returns the file that changed.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)
Deprecated.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)
Deprecated.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)
Deprecated.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 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 class
OnCallRefreshFileObject
This decorator refreshes the fileObject data on every call.Fields in org.apache.commons.vfs2.cache with type parameters of type FileObject Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<FileSystem,java.util.concurrent.ConcurrentMap<FileName,FileObject>>
DefaultFilesCache. filesystemCache
The FileSystem cache.private java.util.concurrent.ConcurrentMap<FileSystem,java.util.Map<FileName,FileObject>>
LRUFilesCache. filesystemCache
The FileSystem cacheprivate java.util.Map<FileSystem,java.util.Map<FileName,java.lang.ref.Reference<FileObject>>>
SoftRefFilesCache. fileSystemCache
private java.lang.ref.ReferenceQueue<FileObject>
SoftRefFilesCache. refQueue
private java.util.Map<java.lang.ref.Reference<FileObject>,FileSystemAndNameKey>
SoftRefFilesCache. refReverseMap
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)
private java.lang.String
SoftRefFilesCache. getSafeName(FileObject fileObject)
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)
Default implementation is a NOOP.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)
protected boolean
LRUFilesCache.MyLRUMap. removeLRU(org.apache.commons.collections4.map.AbstractLinkedMap.LinkEntry<FileName,FileObject> linkEntry)
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.example
Fields in org.apache.commons.vfs2.example declared as FileObject Modifier and Type Field Description private FileObject
Shell. cwd
Methods in org.apache.commons.vfs2.example with parameters of type FileObject Modifier and Type Method Description private void
Shell. listChildren(FileObject dir, boolean recursive, java.lang.String prefix)
Lists the children of a folder. -
Uses of FileObject in org.apache.commons.vfs2.filter
Methods in org.apache.commons.vfs2.filter with parameters of type FileObject Modifier and Type Method Description private static boolean
AgeFileFilter. isFileNewer(FileObject fileObject, long timeMillis)
Tests if the specifiedFile
is newer than the specified time reference.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 class
DecoratedFileObject
Base class to build a fileObject decoration.class
SynchronizedFileObject
This decorator synchronize all access to the FileObject.Fields in org.apache.commons.vfs2.impl declared as FileObject Modifier and Type Field Description private FileObject
DefaultFileSystemManager. baseFile
The base file to use for relative URI.private FileObject
DecoratedFileObject. decoratedFileObject
private FileObject
DefaultFileMonitor.FileMonitorAgent. fileObject
private FileObject
Resource. packageFolder
private FileObject
Resource. resource
private FileObject
Resource. root
private FileObject
PrivilegedFileReplicator.ReplicateAction. srcFile
Fields in org.apache.commons.vfs2.impl with type parameters of type FileObject Modifier and Type Field Description private java.util.Stack<FileObject>
DefaultFileMonitor. addStack
File objects to be added to the monitor map.private java.util.Stack<FileObject>
DefaultFileMonitor. deleteStack
File objects to be removed from the monitor map.private java.util.Map<FileName,FileObject>
VirtualFileSystem. junctions
private java.util.ArrayList<FileObject>
VFSClassLoader. resources
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
Resource. getFileObject()
Returns the FileObject of the resource.FileObject[]
VFSClassLoader. getFileObjects()
Provide access to the file objects this class loader represents.FileObject
Resource. getPackageFolder()
Returns the folder for the package containing the resource.FileObject
DecoratedFileObject. getParent()
private FileObject
VFSClassLoader. lookupFileObject(java.lang.String name)
Does a reverse lookup to find the FileObject when we only have the URL.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
DefaultVfsComponentContext. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)
Locate a file by name.FileObject
DefaultVfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)
Locate a file by name.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
.FileObject
DefaultVfsComponentContext. toFileObject(java.io.File file)
Returns aFileObject
for a local file.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.private void
VFSClassLoader. addFileObjects(FileSystemManager manager, FileObject[] files)
Appends the specified FileObjects to the list of FileObjects to search for classes and resources.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.private void
DefaultFileMonitor.FileMonitorAgent. fireAllCreate(FileObject child)
Recursively fires create events for all children if recursive descent is enabled.java.lang.String
FileTypeMap. getScheme(FileObject fileObject)
Gets the scheme for the provider of a layered 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.FileObject
DefaultVfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)
Locate a file by name.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)
FileMonitorAgent(DefaultFileMonitor fm, FileObject file)
ReplicateAction(FileObject srcFile, FileSelector selector)
Resource(java.lang.String name, FileObject root, FileObject resource)
Creates a new instance.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
Fields in org.apache.commons.vfs2.operations declared as FileObject Modifier and Type Field Description private FileObject
AbstractFileOperation. fileObject
FileObject which the FileOperation is operate on.private FileObject
DefaultFileOperations. fileObject
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.Fields in org.apache.commons.vfs2.provider declared as FileObject Modifier and Type Field Description private FileObject
DefaultFileSelectorInfo. baseFolder
private FileObject
DefaultFileContent.FileContentInputStream. file
private FileObject
DefaultFileContent.FileContentOutputStream. file
private FileObject
DefaultFileContent.FileRandomAccessContent. file
private FileObject
DefaultFileContent.RawFileContentInputStream. file
private FileObject
DefaultFileSelectorInfo. file
private FileObject
DelegateFileObject. file
private FileObject
AbstractFileObject. parent
private FileObject
AbstractFileSystem. parentLayer
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 fileSystemOptions)
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 fileName, FileSystemOptions fileSystemOptions)
Locates a file from its parsed URI.FileObject
AbstractOriginatingFileProvider. findFile(FileObject baseFileObject, 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
DefaultFileSelectorInfo. getBaseFolder()
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.FileObject
DefaultFileSelectorInfo. getFile()
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.private FileObject
AbstractFileObject. resolveFile(FileName child)
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.private FileObject
AbstractFileSystem. resolveFile(FileName name, boolean useCache)
FileObject
VfsComponentContext. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)
Resolves a file by name.FileObject
VfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)
Resolves a file by name.private FileObject[]
AbstractFileObject. resolveFiles(FileName[] children)
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 file name 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 fileSystemOptions)
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.private FileName[]
AbstractFileObject. extractNames(FileObject[] objects)
(package private) void
AbstractFileSystem. fileObjectDestroyed(FileObject fileObject)
(package private) void
AbstractFileSystem. fileObjectHanded(FileObject fileObject)
FileObject
AbstractLayeredFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI.FileObject
AbstractOriginatingFileProvider. findFile(FileObject baseFileObject, 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)
Resolves a file by name.void
DefaultFileSelectorInfo. setBaseFolder(FileObject baseFolder)
void
DefaultFileSelectorInfo. setFile(FileObject file)
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.private static void
AbstractFileObject. traverse(DefaultFileSelectorInfo fileInfo, FileSelector selector, boolean depthwise, java.util.List<FileObject> selected)
Traverses a file.Constructors in org.apache.commons.vfs2.provider with parameters of type FileObject Constructor Description AbstractFileSystem(FileName rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions)
DelegateFileObject(AbstractFileName name, AFS fileSystem, FileObject file)
FileContentInputStream(FileObject file, java.io.InputStream instr)
FileContentInputStream(FileObject file, java.io.InputStream instr, int bufferSize)
FileContentOutputStream(FileObject file, java.io.OutputStream outstr)
FileContentOutputStream(FileObject file, java.io.OutputStream outstr, int bufferSize)
FileRandomAccessContent(FileObject file, RandomAccessContent content)
RawFileContentInputStream(FileObject file, java.io.InputStream instr)
-
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.Fields in org.apache.commons.vfs2.provider.compressed declared as FileObject Modifier and Type Field Description private FileObject
CompressedFileFileObject. container
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.Fields in org.apache.commons.vfs2.provider.ftp declared as FileObject Modifier and Type Field Description private FileObject
FtpFileObject. linkDestination
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.private FileObject
FtpFileObject. getLinkDestination()
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 fileprivate boolean
FtpFileObject. isCircular(FileObject linkDest)
This is an over simplistic implementation for VFS-437. -
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
A 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.http4
Classes in org.apache.commons.vfs2.provider.http4 that implement FileObject Modifier and Type Class Description class
Http4FileObject<FS extends Http4FileSystem>
A file object backed by Apache HttpComponents HttpClient.Methods in org.apache.commons.vfs2.provider.http4 that return FileObject Modifier and Type Method Description protected FileObject
Http4FileSystem. createFile(AbstractFileName name)
-
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)
private void
RamFileSystem. toRamFileObject(FileObject fo, FileObject root)
Import the given file with the name relative to the given root -
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)
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 class
TarFileObject
A file in a Tar file system.Fields in org.apache.commons.vfs2.provider.tar with type parameters of type FileObject Modifier and Type Field Description private java.util.Map<FileName,FileObject>
TarFileSystem. cache
Cache doesn't need to be synchronized since it is read-only.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.protected FileObject
TarFileSystem. 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 FileSystem
TarFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)
Creates a layered file system.protected void
TarFileSystem. 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)
-
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 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 FileObject
TemporaryFileProvider. 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 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 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 FileObject
UrlFileProvider. 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 class
ZipFileObject
A file in a ZIP file system.Fields in org.apache.commons.vfs2.provider.zip with type parameters of type FileObject Modifier and Type Field Description private java.util.Map<FileName,FileObject>
ZipFileSystem. cache
Cache doesn't need to be synchronized since it is read-only.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 private void
AbstractSyncTask. handleFile(java.util.Set<FileObject> destFiles, FileObject srcFile, FileObject destFile)
Handles a single file, checking for collisions where more than one source file maps to the same destination file.private void
AbstractSyncTask. handleFile(FileObject srcFile, FileObject destFile)
Handles a single source file.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.private void
ShowFileTask. logContent(FileObject file, java.lang.String prefix)
Writes the content of the file to Ant log.private void
ShowFileTask. showFile(FileObject file, java.lang.String prefix)
Logs the details of a file.Method parameters in org.apache.commons.vfs2.tasks with type arguments of type FileObject Modifier and Type Method Description private void
AbstractSyncTask. handleFile(java.util.Set<FileObject> destFiles, FileObject srcFile, FileObject destFile)
Handles a single file, checking for collisions where more than one source file maps to the same destination 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 boolean
FileObjectUtils. exists(FileObject fileObject)
Null-safe call toexists()
.static AbstractFileObject
FileObjectUtils. 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.String
FileObjectUtils. getContentAsString(FileObject file, java.lang.String charset)
Returns the content of a file as a String.static java.lang.String
FileObjectUtils. getContentAsString(FileObject file, java.nio.charset.Charset charset)
Gets the content of a file as a String.static void
WeakRefFileListener. installListener(FileObject file, FileListener listener)
Installs thelistener
at the givenfile
.static boolean
FileObjectUtils. isInstanceOf(FileObject fileObject, java.lang.Class<?> wantedClass)
Checks if the given FileObject is instance of given class argument.static java.util.Properties
FileObjectUtils. readProperties(FileObject fileObject)
Reads the given file into a newProperties
.static java.util.Properties
FileObjectUtils. readProperties(FileObject fileObject, java.util.Properties properties)
Reads the given file into a new givenProperties
.static void
FileObjectUtils. writeContent(FileObject file, java.io.OutputStream output)
Writes the content of a file to an OutputStream.static void
FileObjectUtils. 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)
-