Uses of Class
org.apache.commons.vfs2.FileSystemException
Packages that use FileSystemException
Package
Description
The public VFS API.
VFS File caching
Apache Commons VFS Examples classes.
Implementations of
org.apache.commons.vfs2.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 GZIP File Provider
The HTTP4 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 java.net.URL.
The Zip File Provider.
The VFS Ant Tasks.
Utility classes used by the VFS.
-
Uses of FileSystemException in org.apache.commons.vfs2
Subclasses of FileSystemException in org.apache.commons.vfs2Modifier and TypeClassDescriptionclassDelivers a file-not-folder exception which happens when trying to issueFileObject.getChildren()on a file.classdelivers a file-not-found exception.classdelivers 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 TypeMethodDescriptionbooleanFileFilter.accept(FileSelectInfo fileSelectInfo) Determines if a file or folder should be selected.voidFileSystem.addJunction(String junctionPoint, FileObject targetFile) Adds a junction to this file system.voidFileSystemManager.addOperationProvider(String[] schemes, FileOperationProvider operationProvider) voidFileSystemManager.addOperationProvider(String scheme, FileOperationProvider operationProvider) Adds the specified FileOperationProvider for the specified scheme.booleanFileSystemManager.canCreateFileSystem(FileObject file) Determines if a layered file system can be created for a given file.voidFileContent.close()Closes all resources used by the content, including any open stream.voidFileObject.close()Closes this file, and its content.voidFileObject.copyFrom(FileObject srcFile, FileSelector selector) Copies another file, and all its descendants, to this file.FileContentInfoFactory.create(FileContent fileContent) Creates a FileContentInfo for a the given FileContent.voidFileObject.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.private static FileSystemManagerVFS.createFileSystemManager(String managerClassName) Creates a file system manager instance.voidFileObject.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.booleanFileObject.delete()Deletes this file.intFileObject.delete(FileSelector selector) Deletes all descendants of this file that match a selector.intFileObject.deleteAll()Deletes this file and all children.booleanFileObject.exists()Determines if this file exists.FileObject.findFiles(FileSelector selector) Finds the set of matching descendants of this file, in depthwise order.voidFileObject.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.Returns a child of this file.FileObject.getChildren()Lists the children of this file.FileObject.getContent()Returns this file's content.FileContent.getContentInfo()Gets the content info.FileObject.getFileOperations()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 InputStreamFileContent.getInputStream(int bufferSize) Gets an input stream for reading the file's content.longFileContent.getLastModifiedTime()Gets the last-modified timestamp of the file.static FileSystemManagerVFS.getManager()Returns the defaultFileSystemManagerinstance.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 OutputStreamFileContent.getOutputStream(boolean bAppend, int bufferSize) Gets an output stream for writing the file's content.default OutputStreamFileContent.getOutputStream(int bufferSize) Gets an output stream for writing the file's content.FileObject.getParent()Returns 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 an 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.longFileContent.getSize()Gets the size of the file, in bytes.FileObject.getType()Returns this file's type.FileObject.getURL()Returns a URL representing this file.booleanFileContent.hasAttribute(String attrName) Checks if an attribute of the file's content exists.default booleanFileContent.isEmpty()Checks if the receiver is empty.booleanFileObject.isExecutable()Determines if this file is executable.booleanFileName.isFile()Tests if this file name is a name for a regular file.booleanFileObject.isFile()Checks if this file is a regular file.booleanFileObject.isFolder()Checks if this file is a folder.booleanFileObject.isHidden()Determines if this file is hidden.booleanFileObject.isReadable()Determines if this file can be read.default booleanFileObject.isSymbolicLink()Determines if this file is a symbolic link.booleanFileObject.isWriteable()Determines if this file can be written to.voidFileObject.moveTo(FileObject destFile) Move this file.voidFileObject.refresh()This will prepare the fileObject to get resynchronized with the underlying file system if required.voidFileContent.removeAttribute(String attrName) Removes the value of an attribute of the file's content.voidFileSystem.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> TFileSystemException.requireNonNull(T obj, String code) Throws a FileSystemException when the given object is null.static <T> TFileSystemException.requireNonNull(T obj, String code, Object... info) Throws a FileSystemException when the given object is null.static FileSystemManagerVFS.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.voidFileContent.setAttribute(String attrName, Object value) Sets the value of an attribute of the file's content.voidFileSystem.setAttribute(String attrName, Object value) Sets the value of an attribute of the file's content.booleanFileObject.setExecutable(boolean executable, boolean ownerOnly) Sets the owner's (or everybody's) write permission.voidFileContent.setLastModifiedTime(long modTime) Sets the last-modified timestamp of the file.booleanFileObject.setReadable(boolean readable, boolean ownerOnly) Sets the owner's (or everybody's) read permission.booleanFileObject.setWritable(boolean writable, boolean ownerOnly) Sets the owner's (or everybody's) write permission.FileSystemManager.toFileObject(File file) Converts a local file into aFileObject. -
Uses of FileSystemException in org.apache.commons.vfs2.cache
Methods in org.apache.commons.vfs2.cache that throw FileSystemExceptionModifier and TypeMethodDescriptionvoidOnCallRefreshFileObject.close()voidOnCallRefreshFileObject.copyFrom(FileObject srcFile, FileSelector selector) voidOnCallRefreshFileObject.createFile()voidOnCallRefreshFileObject.createFolder()booleanOnCallRefreshFileObject.delete()intOnCallRefreshFileObject.delete(FileSelector selector) booleanOnCallRefreshFileObject.exists()OnCallRefreshFileObject.findFiles(FileSelector selector) voidOnCallRefreshFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) OnCallRefreshFileObject.getChildren()OnCallRefreshFileObject.getContent()OnCallRefreshFileObject.getType()booleanOnCallRefreshFileObject.isExecutable()booleanOnCallRefreshFileObject.isHidden()booleanOnCallRefreshFileObject.isReadable()booleanOnCallRefreshFileObject.isWriteable()voidOnCallRefreshFileObject.moveTo(FileObject destFile) OnCallRefreshFileObject.resolveFile(String path) OnCallRefreshFileObject.resolveFile(String name, NameScope scope) booleanOnCallRefreshFileObject.setExecutable(boolean executable, boolean ownerOnly) booleanOnCallRefreshFileObject.setReadable(boolean readable, boolean ownerOnly) booleanOnCallRefreshFileObject.setWritable(boolean writable, boolean ownerOnly) -
Uses of FileSystemException in org.apache.commons.vfs2.example
Methods in org.apache.commons.vfs2.example that throw FileSystemExceptionModifier and TypeMethodDescriptionprivate voidShell.listChildren(FileObject dir, boolean recursive, String prefix) Lists the children of a folder.private voidDoes an 'ls' command. -
Uses of FileSystemException in org.apache.commons.vfs2.filter
Methods in org.apache.commons.vfs2.filter that throw FileSystemExceptionModifier and TypeMethodDescriptionbooleanAgeFileFilter.accept(FileSelectInfo fileInfo) Checks to see if the last modification of the file matches cutoff favorably.booleanAndFileFilter.accept(FileSelectInfo fileSelectInfo) booleanCanExecuteFileFilter.accept(FileSelectInfo fileSelectInfo) Checks to see if the file can be executed.booleanCanReadFileFilter.accept(FileSelectInfo fileSelectInfo) Checks to see if the file can be read.booleanCanWriteFileFilter.accept(FileSelectInfo fileSelectInfo) Checks to see if the file can be written to.booleanDirectoryFileFilter.accept(FileSelectInfo fileSelectInfo) Checks to see if the file is a directory.booleanEmptyFileFilter.accept(FileSelectInfo fileSelectInfo) Checks to see if the file is empty.booleanFileFileFilter.accept(FileSelectInfo fileSelectInfo) Checks to see if the file is a file.booleanHiddenFileFilter.accept(FileSelectInfo fileSelectInfo) Checks to see if the file is hidden.booleanNotFileFilter.accept(FileSelectInfo fileSelectInfo) Returns the logical NOT of the underlying filter's return value for the same File.booleanOrFileFilter.accept(FileSelectInfo fileSelectInfo) booleanSizeFileFilter.accept(FileSelectInfo fileSelectInfo) Checks to see if the size of the file is favorable.booleanSizeRangeFileFilter.accept(FileSelectInfo fileSelectInfo) booleanSymbolicLinkFileFilter.accept(FileSelectInfo fileSelectInfo) Checks to see if the file is a symbolic link.private static booleanAgeFileFilter.isFileNewer(FileObject fileObject, long timeMillis) Tests if the specifiedFileis newer than the specified time reference.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 TypeMethodDescriptionprivate voidVFSClassLoader.addFileObjects(FileSystemManager manager, FileObject[] files) Appends the specified FileObjects to the list of FileObjects to search for classes and resources.voidVirtualFileSystem.addJunction(String junctionPoint, FileObject targetFile) Adds a junction to this file system.voidDefaultFileSystemManager.addOperationProvider(String[] schemes, FileOperationProvider operationProvider) voidDefaultFileSystemManager.addOperationProvider(String scheme, FileOperationProvider operationProvider) Adds the specified FileOperationProvider for the specified scheme.private voidStandardFileSystemManager.addOperationProvider(Element providerDef) Adds a operationProvider from a operationProvider definition.voidDefaultFileSystemManager.addProvider(String[] urlSchemes, FileProvider provider) Registers a file system provider.voidDefaultFileSystemManager.addProvider(String urlScheme, FileProvider provider) Registers a file system provider.private voidStandardFileSystemManager.addProvider(Element providerDef, boolean isDefault) Adds a provider from a provider definition.DefaultFileReplicator.allocateFile(String baseName) Allocates a new temporary file.booleanDefaultFileSystemManager.canCreateFileSystem(FileObject file) Determines if a layered file system can be created for a given file.voidDecoratedFileObject.close()voidSynchronizedFileObject.close()private voidStandardFileSystemManager.configure(String configUri, InputStream configStream) Configures this manager from an XML configuration file.private voidConfigures this manager from an XML configuration file.private voidConfigures this manager from an parsed XML configuration fileprotected voidStandardFileSystemManager.configurePlugins()Scans the classpath to find any droped plugin.voidDecoratedFileObject.copyFrom(FileObject srcFile, FileSelector selector) voidSynchronizedFileObject.copyFrom(FileObject srcFile, FileSelector selector) protected FileDefaultFileReplicator.createAndAddFile(File parent, String basename) voidDecoratedFileObject.createFile()protected FileDefaultFileReplicator.createFile(File parent, String name) Create the temporary file.voidSynchronizedFileObject.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.voidDecoratedFileObject.createFolder()voidSynchronizedFileObject.createFolder()private ObjectStandardFileSystemManager.createInstance(String className) Creates a provider.DefaultFileSystemManager.createVirtualFileSystem(String rootUri) Creates an empty virtual file system.DefaultFileSystemManager.createVirtualFileSystem(FileObject rootFile) Creates a virtual file system.private PackageVFSClassLoader.definePackage(String name, Resource res) Reads attributes for the package and defines it.booleanDecoratedFileObject.delete()intDecoratedFileObject.delete(FileSelector selector) booleanSynchronizedFileObject.delete()intSynchronizedFileObject.delete(FileSelector selector) intDecoratedFileObject.deleteAll()booleanDecoratedFileObject.exists()booleanSynchronizedFileObject.exists()DecoratedFileObject.findFiles(FileSelector selector) voidDecoratedFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) SynchronizedFileObject.findFiles(FileSelector selector) voidSynchronizedFileObject.findFiles(FileSelector selector, boolean depthwise, List<FileObject> selected) DefaultFileSystemManager.getBaseFile()Returns the base file used to resolve relative URI.DecoratedFileObject.getChildren()SynchronizedFileObject.getChildren()Resource.getCodeSourceURL()Returns the code source as an URL.DecoratedFileObject.getContent()SynchronizedFileObject.getContent()DecoratedFileObject.getFileOperations()DefaultFileSystemManager.getFileSystemConfigBuilder(String scheme) Get the configuration builder for the given scheme.private LocalFileProviderDefaultFileSystemManager.getLocalFileProvider()Locates the local file provider.DefaultFileSystemManager.getOperationProviders(String scheme) Resource.getPackageAttribute(Attributes.Name attrName) Returns an attribute of the package containing the resource.DecoratedFileObject.getParent()DefaultFileSystemManager.getProviderCapabilities(String scheme) Get the capabilities for a given scheme.DefaultFileSystemManager.getReplicator()Returns the file replicator.DefaultVfsComponentContext.getReplicator()Locates a file replicator for the provider to use.FileTypeMap.getScheme(FileObject fileObject) Gets the scheme for the provider of a layered file system.DefaultFileSystemManager.getTemporaryFileStore()Returns the temporary file store.DefaultVfsComponentContext.getTemporaryFileStore()Locates a temporary file store for the provider to use.DecoratedFileObject.getType()SynchronizedFileObject.getType()DecoratedFileObject.getURL()Resource.getURL()Returns the URL of the resource.voidDefaultFileReplicator.init()Initializes this component.voidDefaultFileSystemManager.init()Initializes this manager.voidPrivilegedFileReplicator.init()Initializes the component.voidStandardFileSystemManager.init()Initializes this manager.booleanDecoratedFileObject.isExecutable()booleanSynchronizedFileObject.isExecutable()booleanDecoratedFileObject.isFile()booleanDecoratedFileObject.isFolder()booleanDecoratedFileObject.isHidden()booleanSynchronizedFileObject.isHidden()booleanDecoratedFileObject.isReadable()booleanSynchronizedFileObject.isReadable()private booleanReturns true if the we should seal the package where res resides.booleanDecoratedFileObject.isWriteable()booleanSynchronizedFileObject.isWriteable()private ResourceVFSClassLoader.loadResource(String name) Searches through the search path of for the first class or resource with specified name.voidDecoratedFileObject.moveTo(FileObject destFile) voidSynchronizedFileObject.moveTo(FileObject destFile) voidDecoratedFileObject.refresh()voidVirtualFileSystem.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) Locate a file by URI, use the FileSystemOptions for file-system creation.DefaultFileSystemManager.resolveFile(URI uri) Converts a URI into aFileObject.DefaultFileSystemManager.resolveFile(URL url) Converts 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.DefaultVfsComponentContext.resolveFile(String name, FileSystemOptions fileSystemOptions) Locate a file by name.DefaultVfsComponentContext.resolveFile(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) Locate a file by name.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.voidDefaultFileSystemManager.setBaseFile(File baseFile) Sets the base file to use when resolving relative URI.voidDefaultFileSystemManager.setCacheStrategy(CacheStrategy fileCacheStrategy) Set the cache strategy to use when dealing with file object data.voidDefaultFileSystemManager.setDefaultProvider(FileProvider provider) Sets the default provider.booleanDecoratedFileObject.setExecutable(boolean executable, boolean ownerOnly) booleanSynchronizedFileObject.setExecutable(boolean executable, boolean ownerOnly) voidDefaultFileSystemManager.setFileContentInfoFactory(FileContentInfoFactory fileContentInfoFactory) set the fileContentInfoFactory used to determine the infos of a file content.voidDefaultFileSystemManager.setFileObjectDecorator(Class<?> fileObjectDecorator) Set a fileObject decorator to be used for ALL returned file objects.voidDefaultFileSystemManager.setFilesCache(FilesCache filesCache) Sets the filesCache implementation used to cache files.booleanDecoratedFileObject.setReadable(boolean readable, boolean ownerOnly) booleanSynchronizedFileObject.setReadable(boolean readable, boolean ownerOnly) voidDefaultFileSystemManager.setReplicator(FileReplicator replicator) Sets the file replicator to use.voidDefaultFileSystemManager.setTemporaryFileStore(TemporaryFileStore tempFileStore) Sets the temporary file store to use.private voidDefaultFileSystemManager.setupComponent(Object component) Initializes a component, if it has not already been initialized.booleanDecoratedFileObject.setWritable(boolean writable, boolean ownerOnly) booleanSynchronizedFileObject.setWritable(boolean writable, boolean ownerOnly) DefaultFileSystemManager.toFileObject(File file) Converts a local file into aFileObject.DefaultVfsComponentContext.toFileObject(File file) Returns aFileObjectfor a local file.Constructors in org.apache.commons.vfs2.impl that throw FileSystemExceptionModifierConstructorDescriptionResource(String name, FileObject root, FileObject resource) Creates a new instance.VFSClassLoader(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 voidAbstractFileOperationProvider.addOperation(Class<? extends FileOperation> operationClass) Add new FileOperation to list of known operations.final voidAbstractFileOperationProvider.collectOperations(Collection<Class<? extends FileOperation>> operationsList, FileObject file) Gather available operations for the specified FileObject and put them into specified operationsList.voidFileOperationProvider.collectOperations(Collection<Class<? extends FileOperation>> operationsList, FileObject file) Gather available operations for the specified FileObject and put them into specified operationsList.protected abstract voidAbstractFileOperationProvider.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 FileOperationAbstractFileOperationProvider.getOperation(FileObject file, Class<? extends FileOperation> operationClass) DefaultFileOperations.getOperation(Class<? extends FileOperation> operationClass) FileOperationProvider.getOperation(FileObject file, Class<? extends FileOperation> operationClass) Get implementation for a given FileObject and FileOperation interface.FileOperations.getOperation(Class<? extends FileOperation> operationClass) Class<? extends FileOperation>[]DefaultFileOperations.getOperations()Class<? extends FileOperation>[]FileOperations.getOperations()booleanDefaultFileOperations.hasOperation(Class<? extends FileOperation> operationClass) booleanFileOperations.hasOperation(Class<? extends FileOperation> operationClass) protected abstract FileOperationAbstractFileOperationProvider.instantiateOperation(FileObject file, Class<? extends FileOperation> operationClass) Get operation instance for specified FileOperation subclass.protected final Class<? extends FileOperation> AbstractFileOperationProvider.lookupOperation(Class<? extends FileOperation> operationClass) Find class implementing a specific operation interface.voidFileOperation.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 FileSystemException -
Uses of FileSystemException in org.apache.commons.vfs2.provider
Methods in org.apache.commons.vfs2.provider that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected voidAbstractVfsContainer.addComponent(Object component) Adds a sub-component to this component.protected voidAbstractFileProvider.addFileSystem(Comparable<?> key, FileSystem fs) Adds a file system to those cached by this provider.voidAbstractFileSystem.addJunction(String junctionPoint, FileObject targetFile) Adds a junction to this file system.TemporaryFileStore.allocateFile(String basename) Allocates a new temporary file.private voidAbstractFileObject.attach()Attaches to the file.private InputStreamDefaultFileContent.buildInputStream(int bufferSize) private OutputStreamDefaultFileContent.buildOutputStream(boolean bAppend, int bufferSize) static voidUriParser.canonicalizePath(StringBuilder buffer, int offset, int length, FileNameParser fileNameParser) static voidUriParser.checkUriEncoding(String uri) Decodes the String.voidAbstractFileObject.close()Closes this file, and its content.voidDefaultFileContent.close()Closes all resources used by the content, including all streams, readers and writers.voidDefaultFileContent.FileContentInputStream.close()Closes this input stream.voidDefaultFileContent.FileContentOutputStream.close()Closes this output stream.voidDefaultFileContent.FileRandomAccessContent.close()voidDefaultFileContent.RawFileContentInputStream.close()Closes this input stream.voidDelegateFileObject.close()Close the delegated file.(package private) voidFileContentThreadData.closeOutputStream()Closes the output stream.voidAbstractFileObject.copyFrom(FileObject file, FileSelector selector) Copies another file to this file.voidAbstractFileObject.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.voidAbstractFileObject.createFolder()Creates this folder, if it does not exist.static StringRemoves %nn encodings from a string.static voidUriParser.decode(StringBuilder buffer, int offset, int length) Removes %nn encodings from a string.protected FileObjectAbstractFileSystem.decorateFileObject(FileObject file) booleanAbstractFileObject.delete()Deletes this file.intAbstractFileObject.delete(FileSelector selector) Deletes this file, and all children matching theselector.intAbstractFileObject.deleteAll()Deletes this file and all children.private booleanAbstractFileObject.deleteSelf()Deletes this file, once all its children have been deletedprotected FileContentAbstractFileObject.doCreateFileContent()Create a FileContent implementation.protected abstract FileSystemAbstractLayeredFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected abstract FileSystemAbstractOriginatingFileProvider.doCreateFileSystem(FileName rootFileName, FileSystemOptions fileSystemOptions) Creates aFileSystem.protected FileTypeDelegateFileObject.doGetType()Determines the type of the file, returns null if the file does not exist.protected booleanDelegateFileObject.doIsExecutable()Determines if this file is executable.protected booleanDelegateFileObject.doIsHidden()Determines if this file is hidden.protected booleanDelegateFileObject.doIsReadable()Determines if this file can be read.protected booleanAbstractFileObject.doIsSameFile(FileObject destFile) Checks if this fileObject is the same file asdestFilejust with a different name.protected booleanDelegateFileObject.doIsWriteable()Determines if this file can be written to.booleanAbstractFileObject.exists()Determines if the file exists.protected intHostFileNameParser.extractPort(StringBuilder name, String uri) Extracts the port from a URI.protected HostFileNameParser.AuthorityHostFileNameParser.extractToPath(String uri, StringBuilder name) Deprecated.protected HostFileNameParser.AuthorityHostFileNameParser.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 FileObjectAbstractOriginatingFileProvider.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.voidAbstractFileObject.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) Retrieves 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-encodingAbstractFileObject.getFileOperations()protected FileSystemAbstractOriginatingFileProvider.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.longDefaultFileContent.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()Returns 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 an 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()Returns the root file of this file system.longDefaultFileContent.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.booleanDefaultFileContent.hasAttribute(String attrName) Checks if an attribute exists.voidAbstractFileSystem.init()Initializes this component.voidAbstractVfsComponent.init()Initializes the component.voidVfsComponent.init()Initializes the component.booleanAbstractFileObject.isExecutable()Determines if this file is executable.booleanAbstractFileName.isFile()Checks if this file name is a name for a regular file by using its type.booleanAbstractFileObject.isFile()Checks if this file is a regular file by using its file type.booleanAbstractFileObject.isFolder()Checks if this file is a folder by using its file type.booleanAbstractFileObject.isHidden()Determines if this file can be read.booleanAbstractFileObject.isReadable()Determines if this file can be read.protected booleanAbstractFileObject.isSameFile(FileObject destFile) Checks if this fileObject is the same file asdestFilejust with a different name.booleanAbstractFileObject.isSymbolicLink()Determines if this file can be read.booleanAbstractFileObject.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.voidAbstractFileObject.moveTo(FileObject destFile) Moves (rename) the file to another one.static FileTypeUriParser.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.voidAbstractFileObject.refresh()This will prepare the fileObject to get resynchronized with the underlying file system if required.voidDelegateFileObject.refresh()Refresh file information.voidDefaultFileContent.removeAttribute(String attrName) Removes an attribute.voidAbstractFileSystem.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.private FileObjectAbstractFileObject.resolveFile(FileName child) AbstractFileSystem.resolveFile(String nameStr) Finds a file in this file system.AbstractFileSystem.resolveFile(FileName name) Finds a file in this file system.private FileObjectAbstractFileSystem.resolveFile(FileName name, boolean useCache) VfsComponentContext.resolveFile(String name, FileSystemOptions fileSystemOptions) Resolves a file by name.VfsComponentContext.resolveFile(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) Resolves a file by name.private FileObject[]AbstractFileObject.resolveFiles(FileName[] children) voidAbstractFileSystem.setAttribute(String attrName, Object value) Sets the attribute with the specified name.voidDefaultFileContent.setAttribute(String attrName, Object value) Sets the value of an attribute.booleanAbstractFileObject.setExecutable(boolean readable, boolean ownerOnly) voidDefaultFileContent.setLastModifiedTime(long modTime) Sets the last-modified timestamp.booleanAbstractFileObject.setReadable(boolean readable, boolean ownerOnly) (package private) voidSets the type of this file e.g.booleanAbstractFileObject.setWritable(boolean readable, boolean ownerOnly) VfsComponentContext.toFileObject(File file) Returns aFileObjectfor a local file.Constructors in org.apache.commons.vfs2.provider that throw FileSystemExceptionModifierConstructorDescriptionDelegateFileObject(AbstractFileName name, AFS fileSystem, FileObject file) -
Uses of FileSystemException in org.apache.commons.vfs2.provider.bzip2
Methods in org.apache.commons.vfs2.provider.bzip2 that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileObjectBzip2FileSystem.createFile(AbstractFileName name) protected FileSystemBzip2FileProvider.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 TypeMethodDescriptionvoidCompressedFileFileObject.createFile()protected abstract FileObjectCompressedFileFileSystem.createFile(AbstractFileName name) Creates a file object.protected abstract FileSystemCompressedFileFileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) protected FileSystemCompressedFileFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected FileTypeCompressedFileFileObject.doGetType()Returns the file's type.booleanCompressedFileFileObject.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 CFtpClientFactory.ConnectionFactory.createClient(FileSystemOptions fileSystemOptions) private org.apache.commons.net.ftp.FTPClientFTPClientWrapper.createClient()protected org.apache.commons.net.ftp.FTPClientFTPClientWrapper.createClient(GenericFileName rootName, UserAuthenticationData authData) FtpClientFactory.ConnectionFactory.createConnection(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) static org.apache.commons.net.ftp.FTPClientFtpClientFactory.createConnection(String hostname, int port, char[] username, char[] password, String workingDirectory, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileObjectFtpFileSystem.createFile(AbstractFileName name) Creates a file object.protected FTPClientWrapperFtpFileSystem.createWrapper()Gets the wrapper to access this file system.protected FileSystemFtpFileProvider.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.private org.apache.commons.net.ftp.FTPClientFTPClientWrapper.getFtpClient()private FileObjectFtpFileObject.getLinkDestination()private booleanFtpFileObject.isCircular(FileObject linkDest) This is an over simplistic implementation for VFS-437.booleanFtpClient.isConnected()booleanFTPClientWrapper.isConnected()voidFtpFileObject.refresh()default voidFtpClient.setBufferSize(int bufferSize) voidFTPClientWrapper.setBufferSize(int bufferSize) Constructors in org.apache.commons.vfs2.provider.ftp that throw FileSystemExceptionModifierConstructorDescriptionprotectedFTPClientWrapper(GenericFileName root, FileSystemOptions fileSystemOptions) protectedFtpFileObject(AbstractFileName name, FtpFileSystem fileSystem, FileName rootName) -
Uses of FileSystemException in org.apache.commons.vfs2.provider.gzip
Methods in org.apache.commons.vfs2.provider.gzip that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileObjectGzipFileSystem.createFile(AbstractFileName name) protected FileSystemGzipFileProvider.createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions) -
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) protected org.apache.http.client.HttpClientHttp4FileProvider.createHttpClient(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Create anHttpClientobject for an http4 file system.protected org.apache.http.impl.client.HttpClientBuilderHttp4FileProvider.createHttpClientBuilder(Http4FileSystemConfigBuilder builder, GenericFileName rootName, FileSystemOptions fileSystemOptions) Create anHttpClientBuilderobject.protected SSLContextHttp4FileProvider.createSSLContext(Http4FileSystemConfigBuilder builder, FileSystemOptions fileSystemOptions) CreateSSLContextfor HttpClient.protected FileSystemHttp4FileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Constructors in org.apache.commons.vfs2.provider.http4 that throw FileSystemExceptionModifierConstructorDescriptionprotectedHttp4FileObject(AbstractFileName name, FS fileSystem) ConstructHttp4FileObject.protectedHttp4FileObject(AbstractFileName name, FS fileSystem, Http4FileSystemConfigBuilder builder) ConstructHttp4FileObject. -
Uses of FileSystemException in org.apache.commons.vfs2.provider.jar
Methods in org.apache.commons.vfs2.provider.jar that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected ZipFileJarFileSystem.createZipFile(File file) protected ZipFileObjectJarFileSystem.createZipFileObject(AbstractFileName name, ZipEntry entry) protected FileSystemJarFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.JarFileSystem.getAttribute(String attrName) Retrives the attribute with the specified name.(package private) ObjectJarFileSystem.getAttribute(Attributes.Name attrName) protected ZipFileJarFileSystem.getZipFile()Constructors in org.apache.commons.vfs2.provider.jar that throw FileSystemExceptionModifierConstructorDescriptionprotectedJarFileObject(AbstractFileName name, ZipEntry entry, JarFileSystem fs, boolean zipExists) protectedJarFileSystem(AbstractFileName rootName, FileObject file, FileSystemOptions fileSystemOptions) JarURLConnectionImpl(JarFileObject file, FileContent content) -
Uses of FileSystemException in org.apache.commons.vfs2.provider.local
Methods in org.apache.commons.vfs2.provider.local that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileObjectLocalFileSystem.createFile(AbstractFileName name) Creates a file object.protected FileSystemDefaultLocalFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Creates the file system.protected longLocalFile.doGetLastModifiedTime()Gets the last modified time of this file.protected booleanLocalFile.doIsReadable()Determines if this file can be read.protected booleanLocalFile.doIsSameFile(FileObject destFile) protected booleanLocalFile.doIsSymbolicLink()Determines if this file is a symbolic link.protected booleanLocalFile.doIsWriteable()Determines if this file can be written to.protected booleanLocalFile.doSetLastModifiedTime(long modtime) Sets the last modified time of this file.protected StringGenericFileNameParser.extractRootPrefix(String uri, StringBuilder name) Extracts the root prefix from a URI string, which has had the scheme removed.protected abstract StringLocalFileNameParser.extractRootPrefix(String uri, StringBuilder name) Pops the root prefix off a URI, which has had the scheme removed.protected StringWindowsFileNameParser.extractRootPrefix(String uri, StringBuilder name) Pops the root prefix off a URI, which has had the scheme removed.private StringWindowsFileNameParser.extractUNCPrefix(String uri, StringBuilder name) Extracts a UNC name from a path.private StringWindowsFileNameParser.extractWindowsRootPrefix(String uri, StringBuilder name) Extracts a Windows root prefix from a name.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) Constructors in org.apache.commons.vfs2.provider.local that throw FileSystemExceptionModifierConstructorDescription(package private)LocalFileRandomAccessContent(File localFile, RandomAccessMode mode) -
Uses of FileSystemException in org.apache.commons.vfs2.provider.ram
Methods in org.apache.commons.vfs2.provider.ram that throw FileSystemExceptionModifier and TypeMethodDescription(package private) voidRamFileData.addChild(RamFileData data) Add a child.(package private) voidRamFileSystem.delete(RamFileObject file) Delete a fileprotected FileSystemRamFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) voidRamFileSystem.importTree(File file) Import a Tree.(package private) voidRamFileData.removeChild(RamFileData data) Remove a child.(package private) voidRamFileSystem.rename(RamFileObject from, RamFileObject to) private voidRamFileObject.save()(package private) voidRamFileSystem.save(RamFileObject file) Saves a fileprivate voidRamFileSystem.toRamFileObject(FileObject fo, FileObject root) Import the given file with the name relative to the given root -
Uses of FileSystemException in org.apache.commons.vfs2.provider.res
Methods in org.apache.commons.vfs2.provider.res that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected StringResourceFileNameParser.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 TypeMethodDescriptionprivate static voidSftpClientFactory.addIdentities(com.jcraft.jsch.JSch jsch, File sshDir, IdentityProvider[] identities) private static voidSftpClientFactory.addIdentity(com.jcraft.jsch.JSch jsch, IdentityProvider identity) static com.jcraft.jsch.SessionSftpClientFactory.createConnection(String hostname, int port, char[] username, char[] password, FileSystemOptions fileSystemOptions) Creates a new connection to the server.protected FileObjectSftpFileSystem.createFile(AbstractFileName name) Creates a file object.(package private) static com.jcraft.jsch.SessionSftpFileProvider.createSession(GenericFileName rootName, FileSystemOptions fileSystemOptions) Creates a new Session.protected FileSystemSftpFileProvider.doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions) Creates aFileSystem.private com.jcraft.jsch.SessionSftpFileSystem.getSession()Ensures that the session link is established.private static voidSftpClientFactory.setConfigRepository(com.jcraft.jsch.JSch jsch, File sshDir, com.jcraft.jsch.ConfigRepository configRepository, boolean loadOpenSSHConfig) private static voidSftpClientFactory.setKnownHosts(com.jcraft.jsch.JSch jsch, File sshDir, File knownHostsFile) voidSftpFileSystemConfigBuilder.setStrictHostKeyChecking(FileSystemOptions options, String hostKeyChecking) Configures the host key checking to use.Constructors in org.apache.commons.vfs2.provider.sftp that throw FileSystemExceptionModifierConstructorDescriptionprotectedSftpFileObject(AbstractFileName name, SftpFileSystem fileSystem) -
Uses of FileSystemException in org.apache.commons.vfs2.provider.tar
Methods in org.apache.commons.vfs2.provider.tar that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected FileObjectTarFileSystem.createFile(AbstractFileName name) Creates a file object.protected org.apache.commons.compress.archivers.tar.TarArchiveInputStreamTarFileSystem.createTarFile(File file) protected FileSystemTarFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.TarFileSystem.getInputStream(org.apache.commons.compress.archivers.tar.TarArchiveEntry entry) protected org.apache.commons.compress.archivers.tar.TarArchiveInputStreamTarFileSystem.getTarFile()voidTarFileSystem.init()booleanTarFileObject.isWriteable()Determines if this file can be written to.private voidTarFileSystem.recreateTarFile()will be called after all file-objects closed their streams.protected voidTarFileSystem.resetTarFile()Constructors in org.apache.commons.vfs2.provider.tar that throw FileSystemExceptionModifierConstructorDescriptionprotectedTarFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
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 TypeMethodDescriptionprotected URLUrlFileProvider.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 FileObjectZipFileSystem.createFile(AbstractFileName name) Creates a file object.protected ZipFileZipFileSystem.createZipFile(File file) protected ZipFileObjectZipFileSystem.createZipFileObject(AbstractFileName name, ZipEntry entry) protected FileSystemZipFileProvider.doCreateFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) Creates a layered file system.protected ZipFileZipFileSystem.getZipFile()voidZipFileSystem.init()booleanZipFileObject.isWriteable()Determines if this file can be written to.Constructors in org.apache.commons.vfs2.provider.zip that throw FileSystemExceptionModifierConstructorDescriptionZipFileSystem(AbstractFileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemException in org.apache.commons.vfs2.tasks
Methods in org.apache.commons.vfs2.tasks that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected voidCopyTask.handleOutOfDateFile(FileObject srcFile, FileObject destFile) Handles an out-of-date file.protected voidMoveTask.handleOutOfDateFile(FileObject srcFile, FileObject destFile) Handles a single source file.protected voidCopyTask.handleUpToDateFile(FileObject srcFile, FileObject destFile) Handles an up-to-date file.protected FileObjectVfsTask.resolveFile(String uri) Resolves a URI to a file, relative to the project's base directory. -
Uses of FileSystemException in org.apache.commons.vfs2.util
Methods in org.apache.commons.vfs2.util that throw FileSystemExceptionModifier and TypeMethodDescriptionprotected voidMonitorOutputStream.assertOpen()Check if file is still open.private booleanDelegatingFileSystemOptionsBuilder.convertValuesAndInvoke(Method configSetter, DelegatingFileSystemOptionsBuilder.Context ctx) Tries to convert the value and pass it to the given methodDelegatingFileSystemOptionsBuilder.createSchemeMethods(String scheme) Creates the list of all set*() methods for the given schemestatic booleanFileObjectUtils.exists(FileObject fileObject) Null-safe call toFileObject.exists().private booleanDelegatingFileSystemOptionsBuilder.fillConfigSetters(DelegatingFileSystemOptionsBuilder.Context ctx) Fills all available set*() methods for the context-scheme into the context.static AbstractFileObjectFileObjectUtils.getAbstractFileObject(FileObject fileObject) Gets access to the base object even if decorated.DelegatingFileSystemOptionsBuilder.getSchemeMethods(String scheme) Gets (cached) list of set*() methods for the given schemeprivate voidDelegatingFileSystemOptionsBuilder.invokeSetter(Class<?> valueParameter, DelegatingFileSystemOptionsBuilder.Context ctx, Method configSetter, Object values) Invokes the method with the converted valuesstatic booleanFileObjectUtils.isInstanceOf(FileObject fileObject, Class<?> wantedClass) Checks if the given FileObject is instance of given class argument.static PropertiesFileObjectUtils.readProperties(FileObject fileObject) Reads the given file into a newProperties.static PropertiesFileObjectUtils.readProperties(FileObject fileObject, Properties properties) Reads the given file into a new givenProperties.voidDelegatingFileSystemOptionsBuilder.setConfigClass(FileSystemOptions fso, String scheme, String name, Class<?> className) Sets a single class value.voidDelegatingFileSystemOptionsBuilder.setConfigClasses(FileSystemOptions fso, String scheme, String name, Class<?>[] classNames) Sets an array of class values.voidDelegatingFileSystemOptionsBuilder.setConfigString(FileSystemOptions fso, String scheme, String name, String value) Sets a single string value.voidDelegatingFileSystemOptionsBuilder.setConfigStrings(FileSystemOptions fso, String scheme, String name, String[] values) Sets an array of string value.private voidDelegatingFileSystemOptionsBuilder.setValues(DelegatingFileSystemOptionsBuilder.Context ctx) Sets the values using the informations of the given context.
HostFileNameParser.extractToPath(VfsComponentContext, String, StringBuilder).