Uses of Class
org.apache.commons.vfs2.FileSystemException
Packages that use FileSystemException
Package
Description
The public VFS API.
VFS File caching.
Implementations of
FileFilter
.Functional interface types in the style of java.util.function.
The standard VFS implementation.
VFS Operations handling.
VFS version control operations.
The File Provider API, and utility classes.
The BZIP2 File Provider.
The compressed file provider.
The FTP File Provider.
The FTPS File Provider.
The GZIP File Provider.
The HTTP File Provider.
The HTTP4 File Provider.
The HTTP5 File Provider.
The Jar File Provider.
The Local File Provider.
The RAM File Provider.
The Resource File Provider.
The SFTP Provider.
The Tar File Provider.
The Temporary Filespace Provider.
The Default File Provider, which wraps
URL
.The Zip File Provider.
Utility classes used by the VFS.
-
Uses of FileSystemException in org.apache.commons.vfs2
Subclasses of FileSystemException in org.apache.commons.vfs2Modifier and TypeClassDescriptionclass
Delivers a file-not-folder exception which happens when trying to issueFileObject.getChildren()
on a file.class
A file-not-found exception.class
A file-not-folder exception which happens when trying to issueFileObject.getChildren()
on a file.Methods in org.apache.commons.vfs2 that throw FileSystemExceptionModifier and TypeMethodDescriptionboolean
FileFilter.accept
(FileSelectInfo fileSelectInfo) Determines if a file or folder should be selected.void
FileSystem.addJunction
(String junctionPoint, FileObject targetFile) Adds a junction to this file system.void
FileSystemManager.addOperationProvider
(String[] schemes, FileOperationProvider operationProvider) Adds an operation provider.void
FileSystemManager.addOperationProvider
(String scheme, FileOperationProvider operationProvider) Adds the specified FileOperationProvider for the specified scheme.boolean
FileSystemManager.canCreateFileSystem
(FileObject file) Determines if a layered file system can be created for a given file.void
FileContent.close()
Closes all resources used by the content, including any open stream.void
FileObject.close()
Closes this file, and its content.void
FileObject.copyFrom
(FileObject srcFile, FileSelector selector) Copies another file, and all its descendants, to this file.FileContentInfoFactory.create
(FileContent fileContent) Creates a FileContentInfo for the given FileContent.void
FileObject.createFile()
Creates this file, if it does not exist.FileSystemManager.createFileSystem
(String provider, FileObject file) Creates a layered file system.FileSystemManager.createFileSystem
(FileObject file) Creates a layered file system.void
FileObject.createFolder()
Creates this folder, if it does not exist.FileSystemManager.createVirtualFileSystem
(String rootUri) Creates an empty virtual file system.FileSystemManager.createVirtualFileSystem
(FileObject rootFile) Creates a virtual file system.boolean
FileObject.delete()
Deletes this file.int
FileObject.delete
(FileSelector selector) Deletes all descendants of this file that match a selector.int
FileObject.deleteAll()
Deletes this file and all children.boolean
FileObject.exists()
Determines if this file exists.FileObject.findFiles
(FileSelector selector) Finds the set of matching descendants of this file, in depthwise order.void
FileObject.findFiles
(FileSelector selector, boolean depthwise, List<FileObject> selected) Finds the set of matching descendants of this file.FileContent.getAttribute
(String attrName) Gets the value of an attribute of the file's content.FileSystem.getAttribute
(String attrName) Gets the value of an attribute of the file system.String[]
FileContent.getAttributeNames()
Gets the attributes of the file's content.FileContent.getAttributes()
Returns a read-only map of this file's attributes.FileSystemManager.getBaseFile()
Returns the base file used to resolve relative paths.FileContent.getCertificates()
Gets the certificates if any used to sign this file or folder.Gets a child of this file.FileObject.getChildren()
Gets a lists of children of this file.FileObject.getContent()
Gets this file's content.FileContent.getContentInfo()
Gets the content info. e.g. type, encoding, ...FileObject.getFileOperations()
Gets this instance's FileOperations.FileSystemManager.getFileSystemConfigBuilder
(String scheme) Gets the configuration builder for the given scheme.FileContent.getInputStream()
Gets an input stream for reading the file's content.default InputStream
FileContent.getInputStream
(int bufferSize) Gets an input stream for reading the file's content.long
FileContent.getLastModifiedTime()
Gets the last-modified timestamp of the file.static FileSystemManager
VFS.getManager()
Gets the defaultFileSystemManager
instance.FileSystemManager.getOperationProviders
(String scheme) Gets Providers for file operations.FileContent.getOutputStream()
Gets an output stream for writing the file's content.FileContent.getOutputStream
(boolean bAppend) Gets an output stream for writing the file's content.default OutputStream
FileContent.getOutputStream
(boolean bAppend, int bufferSize) Gets an output stream for writing the file's content.default OutputStream
FileContent.getOutputStream
(int bufferSize) Gets an output stream for writing the file's content.FileObject.getParent()
Gets the folder that contains this file.FileSystem.getParentLayer()
Returns the parent layer if this is a layered file system.FileName.getPathDecoded()
Returns the absolute path of this file, within its file system.FileSystemManager.getProviderCapabilities
(String scheme) Gets the capabilities for a given scheme.FileContent.getRandomAccessContent
(RandomAccessMode mode) Gets a stream for reading/writing the file's content.FileName.getRelativeName
(FileName name) Converts a file name to a relative name, relative to this file name.FileSystem.getRoot()
Returns the root file of this file system.long
FileContent.getSize()
Gets the size of the file, in bytes.FileObject.getType()
Gets this file's type.FileObject.getURL()
Gets a URL representing this file.boolean
FileContent.hasAttribute
(String attrName) Checks if an attribute of the file's content exists.default boolean
FileContent.isEmpty()
Tests if the receiver is empty.boolean
FileObject.isExecutable()
Determines if this file is executable.boolean
FileName.isFile()
Tests if this file name is a name for a regular file.boolean
FileObject.isFile()
Checks if this file is a regular file.boolean
FileObject.isFolder()
Checks if this file is a folder.boolean
FileObject.isHidden()
Determines if this file is hidden.boolean
FileObject.isReadable()
Determines if this file can be read.default boolean
FileObject.isSymbolicLink()
Determines if this file is a symbolic link.boolean
FileObject.isWriteable()
Determines if this file can be written to.void
FileObject.moveTo
(FileObject destFile) Move this file.void
FileObject.refresh()
This will prepare the fileObject to get resynchronized with the underlying file system if required.void
FileContent.removeAttribute
(String attrName) Removes the value of an attribute of the file's content.void
FileSystem.removeJunction
(String junctionPoint) Removes a junction from this file system.FileSystem.replicateFile
(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendants.static <T> T
FileSystemException.requireNonNull
(T obj, String code) Throws a FileSystemException when the given object is null.static <T> T
FileSystemException.requireNonNull
(T obj, String code, Object... info) Throws a FileSystemException when the given object is null.static FileSystemManager
VFS.reset()
Resets the FileSystemManager to the default.FileObject.resolveFile
(String path) Finds a file, relative to this file.FileObject.resolveFile
(String name, NameScope scope) Finds a file relative to this file.FileSystem.resolveFile
(String name) Finds a file in this file system.FileSystem.resolveFile
(FileName name) Finds a file in this file system.FileSystemManager.resolveFile
(File baseFile, String name) Locates a file by name.FileSystemManager.resolveFile
(String name) Locates a file by name.FileSystemManager.resolveFile
(String name, FileSystemOptions fileSystemOptions) Locates a file by name.FileSystemManager.resolveFile
(URI uri) Resolves a URI into aFileObject
.FileSystemManager.resolveFile
(URL url) Resolves a URL into aFileObject
.FileSystemManager.resolveFile
(FileObject baseFile, String name) Locates a file by name.FileSystemManager.resolveName
(FileName root, String name) Resolves a name, relative to this file name.FileSystemManager.resolveName
(FileName root, String name, NameScope scope) Resolves a name, relative to the "root" file name.FileSystemManager.resolveURI
(String uri) Resolves the URI to a file name.void
FileContent.setAttribute
(String attrName, Object value) Sets the value of an attribute of the file's content.void
FileSystem.setAttribute
(String attrName, Object value) Sets the value of an attribute of the file's content.boolean
FileObject.setExecutable
(boolean executable, boolean ownerOnly) Sets the owner's (or everybody's) write permission.void
FileContent.setLastModifiedTime
(long modTime) Sets the last-modified timestamp of the file.boolean
FileObject.setReadable
(boolean readable, boolean ownerOnly) Sets the owner's (or everybody's) read permission.boolean
FileObject.setWritable
(boolean writable, boolean ownerOnly) Sets the owner's (or everybody's) write permission.FileSystemManager.toFileObject
(File file) Converts a local file into aFileObject
.default FileObject
FileSystemManager.toFileObject
(Path path) Converts a local path into aFileObject
. -
Uses of FileSystemException in org.apache.commons.vfs2.cache
Methods in org.apache.commons.vfs2.cache that throw FileSystemExceptionModifier and TypeMethodDescriptionvoid
OnCallRefreshFileObject.close()
void
OnCallRefreshFileObject.copyFrom
(FileObject srcFile, FileSelector selector) void
OnCallRefreshFileObject.createFile()
void
OnCallRefreshFileObject.createFolder()
boolean
OnCallRefreshFileObject.delete()
int
OnCallRefreshFileObject.delete
(FileSelector selector) boolean
OnCallRefreshFileObject.exists()
OnCallRefreshFileObject.findFiles
(FileSelector selector) void
OnCallRefreshFileObject.findFiles
(FileSelector selector, boolean depthwise, List<FileObject> selected) OnCallRefreshFileObject.getChildren()
OnCallRefreshFileObject.getContent()
OnCallRefreshFileObject.getType()
boolean
OnCallRefreshFileObject.isExecutable()
boolean
OnCallRefreshFileObject.isHidden()
boolean
OnCallRefreshFileObject.isReadable()
boolean
OnCallRefreshFileObject.isWriteable()
void
OnCallRefreshFileObject.moveTo
(FileObject destFile) OnCallRefreshFileObject.resolveFile
(String path) OnCallRefreshFileObject.resolveFile
(String name, NameScope scope) boolean
OnCallRefreshFileObject.setExecutable
(boolean executable, boolean ownerOnly) boolean
OnCallRefreshFileObject.setReadable
(boolean readable, boolean ownerOnly) boolean
OnCallRefreshFileObject.setWritable
(boolean writable, boolean ownerOnly) -
Uses of FileSystemException in org.apache.commons.vfs2.filter
Methods in org.apache.commons.vfs2.filter that throw FileSystemExceptionModifier and TypeMethodDescriptionboolean
AgeFileFilter.accept
(FileSelectInfo fileInfo) Checks to see if the last modification of the file matches cutoff favorably.boolean
AndFileFilter.accept
(FileSelectInfo fileSelectInfo) boolean
CanExecuteFileFilter.accept
(FileSelectInfo fileSelectInfo) Checks to see if the file can be executed.boolean
CanReadFileFilter.accept
(FileSelectInfo fileSelectInfo) Checks to see if the file can be read.boolean
CanWriteFileFilter.accept
(FileSelectInfo fileSelectInfo) Checks to see if the file can be written to.boolean
DirectoryFileFilter.accept
(FileSelectInfo fileSelectInfo) Checks to see if the file is a directory.boolean
EmptyFileFilter.accept
(FileSelectInfo fileSelectInfo) Checks to see if the file is empty.boolean
FileFileFilter.accept
(FileSelectInfo fileSelectInfo) Checks to see if the file is a file.boolean
HiddenFileFilter.accept
(FileSelectInfo fileSelectInfo) Checks to see if the file is hidden.boolean
NotFileFilter.accept
(FileSelectInfo fileSelectInfo) Returns the logical NOT of the underlying filter's return value for the same File.boolean
OrFileFilter.accept
(FileSelectInfo fileSelectInfo) boolean
SizeFileFilter.accept
(FileSelectInfo fileSelectInfo) Checks to see if the size of the file is favorable.boolean
SizeRangeFileFilter.accept
(FileSelectInfo fileSelectInfo) boolean
SymbolicLinkFileFilter.accept
(FileSelectInfo fileSelectInfo) Checks to see if the file is a symbolic link.Constructors in org.apache.commons.vfs2.filter that throw FileSystemExceptionModifierConstructorDescriptionAgeFileFilter
(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 FileSystemException in org.apache.commons.vfs2.function
Methods in org.apache.commons.vfs2.function that throw FileSystemException -
Uses of FileSystemException in org.apache.commons.vfs2.impl
Methods in org.apache.commons.vfs2.impl that throw FileSystemExceptionModifier and TypeMethodDescriptionvoid
VirtualFileSystem.addJunction
(String junctionPoint, FileObject targetFile) Adds a junction to this file system.void
DefaultFileSystemManager.addOperationProvider
(String[] schemes, FileOperationProvider operationProvider) void
DefaultFileSystemManager.addOperationProvider
(String scheme, FileOperationProvider operationProvider) Adds the specified FileOperationProvider for the specified scheme.void
DefaultFileSystemManager.addProvider
(String[] urlSchemes, FileProvider provider) Adds a file system provider.void
DefaultFileSystemManager.addProvider
(String urlScheme, FileProvider provider) Adds a file system provider.DefaultFileReplicator.allocateFile
(String baseName) Allocates a new temporary file.boolean
DefaultFileSystemManager.canCreateFileSystem
(FileObject file) Tests if a layered file system can be created for a given file.void
DecoratedFileObject.close()
void
SynchronizedFileObject.close()
protected void
StandardFileSystemManager.configurePlugins()
Scans the classpath to find any dropped plugin.void
DecoratedFileObject.copyFrom
(FileObject srcFile, FileSelector selector) void
SynchronizedFileObject.copyFrom
(FileObject srcFile, FileSelector selector) protected File
DefaultFileReplicator.createAndAddFile
(File parent, String baseName) Adds a file.void
DecoratedFileObject.createFile()
protected File
DefaultFileReplicator.createFile
(File parent, String name) Create the temporary file.void
SynchronizedFileObject.createFile()
DefaultFileSystemManager.createFileSystem
(String scheme, FileObject file) Creates a layered file system.DefaultFileSystemManager.createFileSystem
(FileObject file) Creates a layered file system.VirtualFileProvider.createFileSystem
(String rootUri) Creates an empty virtual file system.VirtualFileProvider.createFileSystem
(FileObject rootFile) Creates a virtual file system, with the supplied file as its root.void
DecoratedFileObject.createFolder()
void
SynchronizedFileObject.createFolder()
DefaultFileSystemManager.createVirtualFileSystem
(String rootUri) Creates an empty virtual file system.DefaultFileSystemManager.createVirtualFileSystem
(FileObject rootFile) Creates a virtual file system.boolean
DecoratedFileObject.delete()
int
DecoratedFileObject.delete
(FileSelector selector) boolean
SynchronizedFileObject.delete()
int
SynchronizedFileObject.delete
(FileSelector selector) int
DecoratedFileObject.deleteAll()
boolean
DecoratedFileObject.exists()
boolean
SynchronizedFileObject.exists()
DecoratedFileObject.findFiles
(FileSelector selector) void
DecoratedFileObject.findFiles
(FileSelector selector, boolean depthwise, List<FileObject> selected) SynchronizedFileObject.findFiles
(FileSelector selector) void
SynchronizedFileObject.findFiles
(FileSelector selector, boolean depthwise, List<FileObject> selected) DefaultFileSystemManager.getBaseFile()
Gets the base file used to resolve relative URI.DecoratedFileObject.getChildren()
SynchronizedFileObject.getChildren()
DecoratedFileObject.getContent()
SynchronizedFileObject.getContent()
DecoratedFileObject.getFileOperations()
DefaultFileSystemManager.getFileSystemConfigBuilder
(String scheme) Gets the configuration builder for the given scheme.DefaultFileSystemManager.getOperationProviders
(String scheme) DecoratedFileObject.getParent()
DefaultFileSystemManager.getProviderCapabilities
(String scheme) Gets the capabilities for a given scheme.DefaultFileSystemManager.getReplicator()
Gets the file replicator.DefaultFileSystemManager.getTemporaryFileStore()
Gets the temporary file store.DecoratedFileObject.getType()
SynchronizedFileObject.getType()
DecoratedFileObject.getURL()
void
DefaultFileReplicator.init()
Initializes this component.void
DefaultFileSystemManager.init()
Initializes this manager.void
PrivilegedFileReplicator.init()
Initializes the component.void
StandardFileSystemManager.init()
Initializes this manager.boolean
DecoratedFileObject.isExecutable()
boolean
SynchronizedFileObject.isExecutable()
boolean
DecoratedFileObject.isFile()
boolean
DecoratedFileObject.isFolder()
boolean
DecoratedFileObject.isHidden()
boolean
SynchronizedFileObject.isHidden()
boolean
DecoratedFileObject.isReadable()
boolean
SynchronizedFileObject.isReadable()
boolean
DecoratedFileObject.isWriteable()
boolean
SynchronizedFileObject.isWriteable()
void
DecoratedFileObject.moveTo
(FileObject destFile) void
SynchronizedFileObject.moveTo
(FileObject destFile) void
DecoratedFileObject.refresh()
void
VirtualFileSystem.removeJunction
(String junctionPoint) Removes a junction from this file system.DefaultFileReplicator.replicateFile
(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendants.PrivilegedFileReplicator.replicateFile
(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendants.DecoratedFileObject.resolveFile
(String path) DecoratedFileObject.resolveFile
(String name, NameScope scope) DefaultFileSystemManager.resolveFile
(File baseFile, String uri) Resolves a URI, relative to base file.DefaultFileSystemManager.resolveFile
(String uri) Locates a file by URI.DefaultFileSystemManager.resolveFile
(String uri, FileSystemOptions fileSystemOptions) Resolves a file by URI, use the FileSystemOptions for file-system creation.DefaultFileSystemManager.resolveFile
(URI uri) Resolves a URI into aFileObject
.DefaultFileSystemManager.resolveFile
(URL url) Resolves a URL into aFileObject
.DefaultFileSystemManager.resolveFile
(FileObject baseFile, String uri) Resolves a URI, relative to a base file.DefaultFileSystemManager.resolveFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Resolves a URI, relative to a base file with specified FileSystem configuration.SynchronizedFileObject.resolveFile
(String path) SynchronizedFileObject.resolveFile
(String name, NameScope scope) DefaultFileSystemManager.resolveName
(FileName root, String path) Resolves a name, relative to the file.DefaultFileSystemManager.resolveName
(FileName base, String name, NameScope scope) Resolves a name, relative to the root.DefaultFileSystemManager.resolveURI
(String uri) Resolve the uri to a file name.void
DefaultFileSystemManager.setBaseFile
(File baseFile) Sets the base file to use when resolving relative URI.void
DefaultFileSystemManager.setCacheStrategy
(CacheStrategy fileCacheStrategy) Sets the cache strategy to use when dealing with file object data.void
DefaultFileSystemManager.setDefaultProvider
(FileProvider provider) Sets the default provider.boolean
DecoratedFileObject.setExecutable
(boolean executable, boolean ownerOnly) boolean
SynchronizedFileObject.setExecutable
(boolean executable, boolean ownerOnly) void
DefaultFileSystemManager.setFileContentInfoFactory
(FileContentInfoFactory fileContentInfoFactory) Sets the fileContentInfoFactory used to determine the infos of a file content.void
DefaultFileSystemManager.setFileObjectDecorator
(Class<?> fileObjectDecorator) Sets a fileObject decorator to be used for ALL returned file objects.void
DefaultFileSystemManager.setFilesCache
(FilesCache filesCache) Sets the filesCache implementation used to cache files.boolean
DecoratedFileObject.setReadable
(boolean readable, boolean ownerOnly) boolean
SynchronizedFileObject.setReadable
(boolean readable, boolean ownerOnly) void
DefaultFileSystemManager.setReplicator
(FileReplicator replicator) Sets the file replicator to use.void
DefaultFileSystemManager.setTemporaryFileStore
(TemporaryFileStore tempFileStore) Sets the temporary file store to use.boolean
DecoratedFileObject.setWritable
(boolean writable, boolean ownerOnly) boolean
SynchronizedFileObject.setWritable
(boolean writable, boolean ownerOnly) DefaultFileSystemManager.toFileObject
(File file) Converts a local file into aFileObject
.Constructors in org.apache.commons.vfs2.impl that throw FileSystemExceptionModifierConstructorDescriptionVFSClassLoader
(FileObject[] files, FileSystemManager manager) Constructors a new VFSClassLoader for the given files.VFSClassLoader
(FileObject[] files, FileSystemManager manager, 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, ClassLoader parent) Constructors a new VFSClassLoader for the given file. -
Uses of FileSystemException in org.apache.commons.vfs2.operations
Methods in org.apache.commons.vfs2.operations that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected final void
AbstractFileOperationProvider.addOperation
(Class<? extends FileOperation> operationClass) Add new FileOperation to list of known operations.final void
AbstractFileOperationProvider.collectOperations
(Collection<Class<? extends FileOperation>> operationsList, FileObject file) Gather available operations for the specified FileObject and put them into specified operationsList.void
FileOperationProvider.collectOperations
(Collection<Class<? extends FileOperation>> operationsList, FileObject file) Gather available operations for the specified FileObject and put them into specified operationsList.protected abstract void
AbstractFileOperationProvider.doCollectOperations
(Collection<Class<? extends FileOperation>> availableOperations, Collection<Class<? extends FileOperation>> resultList, FileObject file) Gather available operations for the specified FileObject and put them into specified operationsList.final FileOperation
AbstractFileOperationProvider.getOperation
(FileObject file, Class<? extends FileOperation> operationClass) DefaultFileOperations.getOperation
(Class<? extends FileOperation> operationClass) FileOperationProvider.getOperation
(FileObject file, Class<? extends FileOperation> operationClass) Gets implementation for a given FileObject and FileOperation interface.FileOperations.getOperation
(Class<? extends FileOperation> operationClass) Gets the file operation for the given class.Class<? extends FileOperation>[]
DefaultFileOperations.getOperations()
Class<? extends FileOperation>[]
FileOperations.getOperations()
Gets all operations associated with this instance.boolean
DefaultFileOperations.hasOperation
(Class<? extends FileOperation> operationClass) boolean
FileOperations.hasOperation
(Class<? extends FileOperation> operationClass) Tests @return whether an operationoperationClass
is available.protected abstract FileOperation
AbstractFileOperationProvider.instantiateOperation
(FileObject file, Class<? extends FileOperation> operationClass) Gets operation instance for specified FileOperation subclass.protected final Class<? extends FileOperation>
AbstractFileOperationProvider.lookupOperation
(Class<? extends FileOperation> operationClass) Find class implementing a specific operation interface.void
FileOperation.process()
Performs necessary actions that are related to the concrete implementation of a FileOperation. -
Uses of FileSystemException in org.apache.commons.vfs2.operations.vcs
Methods in org.apache.commons.vfs2.operations.vcs that throw FileSystemExceptionModifier and TypeMethodDescriptionvoid
VcsLogEntryHandler.handleLogEntry
(VcsLogEntry entry) Handles VCS log entries. -
Uses of FileSystemException in org.apache.commons.vfs2.provider
Methods in org.apache.commons.vfs2.provider that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected void
AbstractVfsContainer.addComponent
(Object component) Adds a subcomponent to this component.protected void
AbstractFileProvider.addFileSystem
(Comparable<?> key, FileSystem fs) Adds a file system to those cached by this provider.void
AbstractFileSystem.addJunction
(String junctionPoint, FileObject targetFile) Adds a junction to this file system.TemporaryFileStore.allocateFile
(String baseName) Allocates a new temporary file.static void
UriParser.canonicalizePath
(StringBuilder buffer, int offset, int length, FileNameParser fileNameParser) Canonicalizes a path.static void
UriParser.checkUriEncoding
(String uri) Decodes the String.void
AbstractFileObject.close()
Closes this file, and its content.void
DefaultFileContent.close()
Closes all resources used by the content, including all streams, readers and writers.void
DelegateFileObject.close()
Close the delegated file.void
AbstractFileObject.copyFrom
(FileObject file, FileSelector selector) Copies another file to this file.void
AbstractFileObject.createFile()
Creates this file, if it does not exist.AbstractFileProvider.createFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.AbstractLayeredFileProvider.createFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.FileProvider.createFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.void
AbstractFileObject.createFolder()
Creates this folder, if it does not exist.static String
Removes %nn encodings from a string.static void
UriParser.decode
(StringBuilder buffer, int offset, int length) Removes %nn encodings from a string.protected FileObject
AbstractFileSystem.decorateFileObject
(FileObject file) Decorates the given file object.boolean
AbstractFileObject.delete()
Deletes this file.int
AbstractFileObject.delete
(FileSelector selector) Deletes this file, and all children matching theselector
.int
AbstractFileObject.deleteAll()
Deletes this file and all children.protected FileContent
AbstractFileObject.doCreateFileContent()
Create a FileContent implementation.protected abstract FileSystem
AbstractLayeredFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected abstract FileSystem
AbstractOriginatingFileProvider.doCreateFileSystem
(FileName rootFileName, FileSystemOptions fileSystemOptions) Creates aFileSystem
.protected FileType
DelegateFileObject.doGetType()
Determines the type of the file, returns null if the file does not exist.protected boolean
DelegateFileObject.doIsExecutable()
Determines if this file is executable.protected boolean
DelegateFileObject.doIsHidden()
Determines if this file is hidden.protected boolean
DelegateFileObject.doIsReadable()
Determines if this file can be read.protected boolean
AbstractFileObject.doIsSameFile
(FileObject destFile) Checks if this fileObject is the same file asdestFile
just with a different name.protected boolean
DelegateFileObject.doIsWriteable()
Determines if this file can be written to.boolean
AbstractFileObject.exists()
Determines if the file exists.protected int
HostFileNameParser.extractPort
(StringBuilder name, String uri) Extracts the port from a URI.protected HostFileNameParser.Authority
HostFileNameParser.extractToPath
(String uri, StringBuilder name) Deprecated.protected HostFileNameParser.Authority
HostFileNameParser.extractToPath
(VfsComponentContext context, String uri, StringBuilder name) Extracts the scheme, userinfo, hostname and port components of a generic URI.AbstractLayeredFileProvider.findFile
(FileObject baseFile, 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.AbstractOriginatingFileProvider.findFile
(FileObject baseFileObject, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.CompositeFileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.FileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.AbstractFileObject.findFiles
(FileSelector selector) Finds the set of matching descendants of this file, in depthwise order.void
AbstractFileObject.findFiles
(FileSelector selector, boolean depthwise, List<FileObject> selected) Traverses the descendants of this file, and builds a list of selected files.LocalFileProvider.findLocalFile
(File file) Converts from java.io.File to FileObject.LocalFileProvider.findLocalFile
(String name) Finds a local file, from its local name.AbstractFileSystem.getAttribute
(String attrName) Gets the attribute with the specified name.DefaultFileContent.getAttribute
(String attrName) Gets the value of an attribute.String[]
DefaultFileContent.getAttributeNames()
Lists the attributes of this file.DefaultFileContent.getAttributes()
Returns a read-only map of this file's attributes.DefaultFileContent.getCertificates()
Returns the certificates used to sign this file.Returns a child of this file.AbstractFileObject.getChildren()
Returns the children of the file.AbstractFileObject.getContent()
Returns the file's content.DefaultFileContent.getContentInfo()
Gets the FileContentInfo which describes the content-type, content-encoding.AbstractFileObject.getFileOperations()
protected FileSystem
AbstractOriginatingFileProvider.getFileSystem
(FileName rootFileName, FileSystemOptions fileSystemOptions) Returns the FileSystem associated with the specified root.AbstractFileObject.getInputStream()
Returns an input stream to use to read the content of the file.AbstractFileObject.getInputStream
(int bufferSize) Returns an input stream to use to read the content of the file.DefaultFileContent.getInputStream()
Returns an input stream for reading the content.DefaultFileContent.getInputStream
(int bufferSize) Returns an input stream for reading the content.long
DefaultFileContent.getLastModifiedTime()
Returns the last-modified timestamp.AbstractFileObject.getOutputStream()
Prepares this file for writing.AbstractFileObject.getOutputStream
(boolean bAppend) Prepares this file for writing.DefaultFileContent.getOutputStream()
Returns an output stream for writing the content.DefaultFileContent.getOutputStream
(boolean bAppend) Returns an output stream for writing the content in append mode.DefaultFileContent.getOutputStream
(boolean bAppend, int bufferSize) Returns an output stream for writing the content in append mode.DefaultFileContent.getOutputStream
(int bufferSize) Returns an output stream for writing the content.AbstractFileObject.getParent()
Returns the parent of the file.AbstractFileSystem.getParentLayer()
Gets the parent layer if this is a layered file system.AbstractFileName.getPathDecoded()
Returns the decoded path.GenericURLFileName.getPathQueryEncoded
(String charset) Gets the path encoded suitable for url like file system e.g.URLFileName.getPathQueryEncoded
(String charset) Deprecated.Gets the path encoded suitable for url like file system e.g.AbstractFileObject.getRandomAccessContent
(RandomAccessMode mode) Returns an input/output stream to use to read and write the content of the file in and random manner.DefaultFileContent.getRandomAccessContent
(RandomAccessMode mode) Returns an input/output stream to use to read and write the content of the file in a random manner.AbstractFileName.getRelativeName
(FileName name) Converts a file name to a relative name, relative to this file name.VfsComponentContext.getReplicator()
Gets a file replicator for the provider to use.AbstractFileSystem.getRoot()
Gets the root file of this file system.long
DefaultFileContent.getSize()
Returns the size of the content (in bytes).VfsComponentContext.getTemporaryFileStore()
Gets a temporary file store for the provider to use.AbstractFileObject.getType()
Returns the file's type.GenericURLFileName.getURIEncoded
(String charset) Encodes a URI.URLFileName.getURIEncoded
(String charset) Deprecated.Encodes a URI.AbstractFileObject.getURL()
Returns a URL representation of the file.boolean
DefaultFileContent.hasAttribute
(String attrName) Checks if an attribute exists.void
AbstractFileSystem.init()
Initializes this component.void
AbstractVfsComponent.init()
Initializes the component.void
VfsComponent.init()
Initializes the component.boolean
AbstractFileObject.isExecutable()
Determines if this file is executable.boolean
AbstractFileName.isFile()
Checks if this file name is a name for a regular file by using its type.boolean
AbstractFileObject.isFile()
Checks if this file is a regular file by using its file type.boolean
AbstractFileObject.isFolder()
Checks if this file is a folder by using its file type.boolean
AbstractFileObject.isHidden()
Determines if this file can be read.boolean
AbstractFileObject.isReadable()
Determines if this file can be read.protected boolean
AbstractFileObject.isSameFile
(FileObject destFile) Checks if this fileObject is the same file asdestFile
just with a different name.boolean
AbstractFileObject.isSymbolicLink()
Determines if this file can be read.boolean
AbstractFileObject.isWriteable()
Determines if this file can be written to.AbstractFileObject.listFiles
(FileSelector selector) Lists the set of matching descendants of this file, in depthwise order.void
AbstractFileObject.moveTo
(FileObject destFile) Moves (rename) the file to another one.static FileType
UriParser.normalisePath
(StringBuilder path) Normalises a path.Parses an absolute URI.FileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) Parses a String into a file name.Parses the URI into a FileName.GenericURLFileNameParser.parseUri
(VfsComponentContext context, FileName base, String fileName) HostFileNameParser.parseUri
(VfsComponentContext context, FileName base, String fileName) LayeredFileNameParser.parseUri
(VfsComponentContext context, FileName baseFileName, String fileName) Parses the base and name into a FileName.URLFileNameParser.parseUri
(VfsComponentContext context, FileName base, String fileName) Deprecated.Parses a URI into a FileName.void
AbstractFileObject.refresh()
This will prepare the fileObject to get resynchronized with the underlying file system if required.void
DelegateFileObject.refresh()
Refresh file information.void
DefaultFileContent.removeAttribute
(String attrName) Removes an attribute.void
AbstractFileSystem.removeJunction
(String junctionPoint) Removes a junction from this file system.AbstractFileSystem.replicateFile
(FileObject file, FileSelector selector) Creates a temporary local copy of a file and its descendants.FileReplicator.replicateFile
(FileObject srcFile, FileSelector selector) Creates a local copy of the file, and all its descendants.AbstractFileObject.resolveFile
(String path) Finds a file, relative to this file.AbstractFileObject.resolveFile
(String name, NameScope scope) Returns a child by name.AbstractFileSystem.resolveFile
(String nameStr) Finds a file in this file system.AbstractFileSystem.resolveFile
(FileName name) Finds a file in this file system.VfsComponentContext.resolveFile
(String name, FileSystemOptions fileSystemOptions) Resolves a file by name.VfsComponentContext.resolveFile
(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) Resolves a file by name.void
AbstractFileSystem.setAttribute
(String attrName, Object value) Sets the attribute with the specified name.void
DefaultFileContent.setAttribute
(String attrName, Object value) Sets the value of an attribute.boolean
AbstractFileObject.setExecutable
(boolean readable, boolean ownerOnly) void
DefaultFileContent.setLastModifiedTime
(long modTime) Sets the last-modified timestamp.boolean
AbstractFileObject.setReadable
(boolean readable, boolean ownerOnly) boolean
AbstractFileObject.setWritable
(boolean readable, boolean ownerOnly) VfsComponentContext.toFileObject
(File file) Returns aFileObject
for a local file.Constructors in org.apache.commons.vfs2.provider that throw FileSystemExceptionModifierConstructorDescriptionDelegateFileObject
(AbstractFileName fileName, AFS fileSystem, FileObject fileObject) Constructs a new instance. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.bzip2
Methods in org.apache.commons.vfs2.provider.bzip2 that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileObject
Bzip2FileSystem.createFile
(AbstractFileName name) protected FileSystem
Bzip2FileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) -
Uses of FileSystemException in org.apache.commons.vfs2.provider.compressed
Methods in org.apache.commons.vfs2.provider.compressed that throw FileSystemExceptionModifier and TypeMethodDescriptionvoid
CompressedFileFileObject.createFile()
protected abstract FileObject
CompressedFileFileSystem.createFile
(AbstractFileName name) Creates a file object.protected abstract FileSystem
CompressedFileFileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) Create a FileSystem.protected FileSystem
CompressedFileFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected FileType
CompressedFileFileObject.doGetType()
Returns the file's type.boolean
CompressedFileFileObject.isWriteable()
Determines if this file can be written to. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.ftp
Methods in org.apache.commons.vfs2.provider.ftp that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected abstract C
FtpClientFactory.ConnectionFactory.createClient
(FileSystemOptions fileSystemOptions) Creates a new client.protected org.apache.commons.net.ftp.FTPClient
FTPClientWrapper.createClient
(GenericFileName rootFileName, UserAuthenticationData authData) Creates an FTPClient.FtpClientFactory.ConnectionFactory.createConnection
(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) Creates a connection.static org.apache.commons.net.ftp.FTPClient
FtpClientFactory.createConnection
(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileObject
FtpFileSystem.createFile
(AbstractFileName name) Creates a file object.protected FTPClientWrapper
FtpFileSystem.createWrapper()
Gets the wrapper to access this file system.protected FileSystem
FtpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the file system.FtpFileObject.getChildren()
Returns the file's list of children.FtpFileSystem.getClient()
Creates an FTP client to use.boolean
FtpClient.isConnected()
Tests if the client is currently connected to a server.boolean
FTPClientWrapper.isConnected()
void
FtpFileObject.refresh()
default void
FtpClient.setBufferSize
(int bufferSize) Sets the buffer size for buffered data streams.void
FTPClientWrapper.setBufferSize
(int bufferSize) Constructors in org.apache.commons.vfs2.provider.ftp that throw FileSystemExceptionModifierConstructorDescriptionprotected
FTPClientWrapper
(GenericFileName rootFileName, FileSystemOptions fileSystemOptions) Constructs a new instance.protected
FtpFileObject
(AbstractFileName fileName, FtpFileSystem fileSystem, FileName rootName) Constructs a new instance. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.ftps
Methods in org.apache.commons.vfs2.provider.ftps that throw FileSystemExceptionModifier and TypeMethodDescriptionstatic org.apache.commons.net.ftp.FTPSClient
FtpsClientFactory.createConnection
(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected org.apache.commons.vfs2.provider.ftps.FtpsClientWrapper
FtpsFileSystem.createWrapper()
protected FileSystem
FtpsFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the file system. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.gzip
Methods in org.apache.commons.vfs2.provider.gzip that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileObject
GzipFileSystem.createFile
(AbstractFileName name) protected FileSystem
GzipFileProvider.createFileSystem
(FileName name, FileObject file, FileSystemOptions fileSystemOptions) -
Uses of FileSystemException in org.apache.commons.vfs2.provider.http
Methods in org.apache.commons.vfs2.provider.http that throw FileSystemExceptionModifier and TypeMethodDescriptionHttpFileContentInfoFactory.create
(FileContent fileContent) Deprecated.static org.apache.commons.httpclient.HttpClient
HttpClientFactory.createConnection
(String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) Deprecated.Creates an HttpClient.static org.apache.commons.httpclient.HttpClient
HttpClientFactory.createConnection
(HttpFileSystemConfigBuilder builder, String scheme, String hostname, int port, String username, String password, FileSystemOptions fileSystemOptions) Deprecated.Creates a new connection to the server.protected FileSystem
HttpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Deprecated.Creates aFileSystem
.protected void
HttpFileObject.setupMethod
(org.apache.commons.httpclient.HttpMethod method) Deprecated.Prepares a HttpMethod object. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.http4
Methods in org.apache.commons.vfs2.provider.http4 that throw FileSystemExceptionModifier and TypeMethodDescriptionHttp4FileContentInfoFactory.create
(FileContent fileContent) Deprecated.protected org.apache.http.client.HttpClient
Http4FileProvider.createHttpClient
(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Deprecated.Create anHttpClient
object for an http4 file system.protected org.apache.http.impl.client.HttpClientBuilder
Http4FileProvider.createHttpClientBuilder
(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Deprecated.Create anHttpClientBuilder
object.protected SSLContext
Http4FileProvider.createSSLContext
(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions) Deprecated.CreateSSLContext
for HttpClient.protected FileSystem
Http4FileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Deprecated.Constructors in org.apache.commons.vfs2.provider.http4 that throw FileSystemExceptionModifierConstructorDescriptionprotected
Http4FileObject
(AbstractFileName name, FS fileSystem) Deprecated.ConstructsHttp4FileObject
.protected
Http4FileObject
(AbstractFileName name, FS fileSystem, Http4FileSystemConfigBuilder builder) Deprecated.ConstructsHttp4FileObject
. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.http5
Methods in org.apache.commons.vfs2.provider.http5 that throw FileSystemExceptionModifier and TypeMethodDescriptionHttp5FileContentInfoFactory.create
(FileContent fileContent) protected org.apache.hc.client5.http.classic.HttpClient
Http5FileProvider.createHttpClient
(Http5FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Create anHttpClient
object for an http4 file system.protected org.apache.hc.client5.http.impl.classic.HttpClientBuilder
Http5FileProvider.createHttpClientBuilder
(Http5FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Create anHttpClientBuilder
object.protected SSLContext
Http5FileProvider.createSSLContext
(Http5FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions) CreateSSLContext
for HttpClient.protected FileSystem
Http5FileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.http5 that throw FileSystemExceptionModifierConstructorDescriptionprotected
Http5FileObject
(AbstractFileName name, FS fileSystem) ConstructsHttp4FileObject
.protected
Http5FileObject
(AbstractFileName name, FS fileSystem, Http5FileSystemConfigBuilder builder) ConstructsHttp4FileObject
. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.jar
Methods in org.apache.commons.vfs2.provider.jar that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected ZipFile
JarFileSystem.createZipFile
(File file) protected ZipFileObject
JarFileSystem.createZipFileObject
(AbstractFileName name, ZipEntry entry) protected FileSystem
JarFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.JarFileSystem.getAttribute
(String attrName) Retrieves the attribute with the specified name.protected ZipFile
JarFileSystem.getZipFile()
Constructors in org.apache.commons.vfs2.provider.jar that throw FileSystemExceptionModifierConstructorDescriptionprotected
JarFileObject
(AbstractFileName fileName, ZipEntry entry, JarFileSystem fileSystem, boolean zipExists) Constructs a new instance.protected
JarFileSystem
(AbstractFileName rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance.JarURLConnectionImpl
(JarFileObject jarFileObject, FileContent fileContent) Constructs a new instance. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.local
Methods in org.apache.commons.vfs2.provider.local that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileObject
LocalFileSystem.createFile
(AbstractFileName name) Creates a file object.protected FileSystem
DefaultLocalFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates the file system.protected long
LocalFile.doGetLastModifiedTime()
Gets the last modified time of this file.protected boolean
LocalFile.doIsReadable()
Determines if this file can be read.protected boolean
LocalFile.doIsSameFile
(FileObject destFile) protected boolean
LocalFile.doIsSymbolicLink()
Determines if this file is a symbolic link.protected boolean
LocalFile.doIsWriteable()
Determines if this file can be written to.protected boolean
LocalFile.doSetLastModifiedTime
(long modtime) Sets the last modified time of this file.protected String
GenericFileNameParser.extractRootPrefix
(String uri, StringBuilder name) Extracts the root prefix from a URI string, which has had the scheme removed.protected abstract String
LocalFileNameParser.extractRootPrefix
(String uri, StringBuilder name) Pops the root prefix off a URI, which has had the scheme removed.protected String
WindowsFileNameParser.extractRootPrefix
(String uri, StringBuilder name) Pops the root prefix off a URI, which has had the scheme removed.DefaultLocalFileProvider.findLocalFile
(File file) Finds a local file.DefaultLocalFileProvider.findLocalFile
(String name) Finds a local file, from its local name.LocalFileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) -
Uses of FileSystemException in org.apache.commons.vfs2.provider.ram
Methods in org.apache.commons.vfs2.provider.ram that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileSystem
RamFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) void
RamFileSystem.importTree
(File file) Import a Tree. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.res
Methods in org.apache.commons.vfs2.provider.res that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected String
ResourceFileNameParser.extractRootPrefix
(String uri, StringBuilder name) ResourceFileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.sftp
Methods in org.apache.commons.vfs2.provider.sftp that throw FileSystemExceptionModifier and TypeMethodDescriptionstatic com.jcraft.jsch.Session
SftpClientFactory.createConnection
(String hostname, int port, char[] username, char[] password, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileObject
SftpFileSystem.createFile
(AbstractFileName name) Creates a file object.protected FileSystem
SftpFileProvider.doCreateFileSystem
(FileName name, FileSystemOptions fileSystemOptions) Creates aFileSystem
.void
SftpFileSystemConfigBuilder.setStrictHostKeyChecking
(FileSystemOptions options, String hostKeyChecking) Configures the host key checking to use.Constructors in org.apache.commons.vfs2.provider.sftp that throw FileSystemExceptionModifierConstructorDescriptionprotected
SftpFileObject
(AbstractFileName fileName, SftpFileSystem fileSystem) Constructs a new instance. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.tar
Methods in org.apache.commons.vfs2.provider.tar that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileObject
TarFileSystem.createFile
(AbstractFileName name) Creates a file object.protected org.apache.commons.compress.archivers.tar.TarArchiveInputStream
TarFileSystem.createTarFile
(File file) Creates a new TarArchiveInputStream.protected FileSystem
TarFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.TarFileSystem.getInputStream
(org.apache.commons.compress.archivers.tar.TarArchiveEntry entry) Returns the input stream for the given entry.protected org.apache.commons.compress.archivers.tar.TarArchiveInputStream
TarFileSystem.getTarFile()
Gets the TarArchiveInputStream.void
TarFileSystem.init()
boolean
TarFileObject.isWriteable()
Determines if this file can be written to.protected void
TarFileSystem.resetTarFile()
Resets the tar file.Constructors in org.apache.commons.vfs2.provider.tar that throw FileSystemExceptionModifierConstructorDescriptionprotected
TarFileSystem
(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.temp
Methods in org.apache.commons.vfs2.provider.temp that throw FileSystemExceptionModifier and TypeMethodDescriptionTemporaryFileProvider.findFile
(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.url
Methods in org.apache.commons.vfs2.provider.url that throw FileSystemExceptionModifier and TypeMethodDescriptionUrlFileProvider.findFile
(FileObject baseFile, String fileUri, FileSystemOptions fileSystemOptions) Locates a file object, by absolute URI.UrlFileNameParser.parseUri
(VfsComponentContext context, FileName base, String uri) Parse a URI. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.zip
Methods in org.apache.commons.vfs2.provider.zip that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileObject
ZipFileSystem.createFile
(AbstractFileName name) Creates a file object.protected ZipFile
ZipFileSystem.createZipFile
(File file) Creates a Zip file.protected ZipFileObject
ZipFileSystem.createZipFileObject
(AbstractFileName fileName, ZipEntry entry) Creates a new Zip file object.protected FileSystem
ZipFileProvider.doCreateFileSystem
(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected ZipFile
ZipFileSystem.getZipFile()
Gets the zip file.void
ZipFileSystem.init()
boolean
ZipFileObject.isWriteable()
Determines if this file can be written to.Constructors in org.apache.commons.vfs2.provider.zip that throw FileSystemExceptionModifierConstructorDescriptionZipFileSystem
(AbstractFileName rootFileName, FileObject parentLayer, FileSystemOptions fileSystemOptions) Constructs a new instance. -
Uses of FileSystemException in org.apache.commons.vfs2.util
Methods in org.apache.commons.vfs2.util that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected void
MonitorOutputStream.assertOpen()
Check if file is still open.static boolean
FileObjectUtils.exists
(FileObject fileObject) Null-safe call toFileObject.exists()
.static AbstractFileObject
FileObjectUtils.getAbstractFileObject
(FileObject fileObject) Gets access to the base object even if decorated.static boolean
FileObjectUtils.isInstanceOf
(FileObject fileObject, Class<?> wantedClass) Checks if the given FileObject is instance of given class argument.static Properties
FileObjectUtils.readProperties
(FileObject fileObject) Reads the given file into a newProperties
.static Properties
FileObjectUtils.readProperties
(FileObject fileObject, Properties properties) Reads the given file into a new givenProperties
.void
DelegatingFileSystemOptionsBuilder.setConfigClass
(FileSystemOptions fso, String scheme, String name, Class<?> className) Sets a single class value.void
DelegatingFileSystemOptionsBuilder.setConfigClasses
(FileSystemOptions fso, String scheme, String name, Class<?>[] classNames) Sets an array of class values.void
DelegatingFileSystemOptionsBuilder.setConfigString
(FileSystemOptions fso, String scheme, String name, String value) Sets a single string value.void
DelegatingFileSystemOptionsBuilder.setConfigStrings
(FileSystemOptions fso, String scheme, String name, String[] values) Sets an array of string value.
HostFileNameParser.extractToPath(VfsComponentContext, String, StringBuilder)
.