Uses of Class
org.apache.commons.vfs.FileSystemException
-
-
Uses of FileSystemException in org.apache.commons.vfs
Methods in org.apache.commons.vfs that throw FileSystemException Modifier and Type Method Description voidFileSystem. addJunction(java.lang.String junctionPoint, FileObject targetFile)Adds a junction to this file system.voidFileSystemManager. addOperationProvider(java.lang.String[] schemes, FileOperationProvider operationProvider)voidFileSystemManager. addOperationProvider(java.lang.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 descendents, to this file.FileContentInfoFileContentInfoFactory. create(FileContent fileContent)voidFileObject. createFile()Creates this file, if it does not exist.FileObjectFileSystemManager. createFileSystem(java.lang.String provider, FileObject file)Creates a layered file system.FileObjectFileSystemManager. createFileSystem(FileObject file)Creates a layered file system.voidFileObject. createFolder()Creates this folder, if it does not exist.FileObjectFileSystemManager. createVirtualFileSystem(java.lang.String rootUri)Creates an empty virtual file system.FileObjectFileSystemManager. createVirtualFileSystem(FileObject rootFile)Creates a virtual file system.booleanFileObject. delete()Deletes this file.intFileObject. delete(FileSelector selector)Deletes all descendents of this file that match a selector.booleanFileObject. exists()Determines if this file exists.FileObject[]FileObject. findFiles(FileSelector selector)Finds the set of matching descendents of this file, in depthwise order.voidFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List selected)Finds the set of matching descendents of this file.java.lang.ObjectFileContent. getAttribute(java.lang.String attrName)Gets the value of an attribute of the file's content.java.lang.ObjectFileSystem. getAttribute(java.lang.String attrName)Gets the value of an attribute of the file system.java.lang.String[]FileContent. getAttributeNames()Lists the attributes of the file's content.java.util.MapFileContent. getAttributes()Returns a read-only map of this file's attributes.FileObjectFileSystemManager. getBaseFile()Returns the base file used to resolve relative paths.java.security.cert.Certificate[]FileContent. getCertificates()Retrieves the certificates if any used to sign this file or folder.FileObjectFileObject. getChild(java.lang.String name)Returns a child of this file.FileObject[]FileObject. getChildren()Lists the children of this file.FileContentFileObject. getContent()Returns this file's content.FileContentInfoFileContent. getContentInfo()get the content info.FileOperationsFileObject. getFileOperations()FileSystemConfigBuilderFileSystemManager. getFileSystemConfigBuilder(java.lang.String scheme)Get the configuration builder for the given schemejava.io.InputStreamFileContent. getInputStream()Returns an input stream for reading the file's content.longFileContent. getLastModifiedTime()Determines the last-modified timestamp of the file.static FileSystemManagerVFS. getManager()Returns the defaultFileSystemManagerinstanceFileOperationProvider[]FileSystemManager. getOperationProviders(java.lang.String scheme)java.io.OutputStreamFileContent. getOutputStream()Returns an output stream for writing the file's content.java.io.OutputStreamFileContent. getOutputStream(boolean bAppend)Returns an output stream for writing the file's content.FileObjectFileObject. getParent()Returns the folder that contains this file.FileObjectFileSystem. getParentLayer()Returns the parent layer if this is a layered file system.java.lang.StringFileName. getPathDecoded()Returns the absolute path of this file, within its file system.java.util.CollectionFileSystemManager. getProviderCapabilities(java.lang.String scheme)Get the capabilities for a given scheme.RandomAccessContentFileContent. getRandomAccessContent(RandomAccessMode mode)Returns an stream for reading/writing the file's content.java.lang.StringFileName. getRelativeName(FileName name)Converts a file name to a relative name, relative to this file name.FileObjectFileSystem. getRoot()Returns the root file of this file system.longFileContent. getSize()Determines the size of the file, in bytes.FileTypeFileObject. getType()Returns this file's type.java.net.URLFileObject. getURL()Returns a URL representing this file.booleanFileTypeSelector. includeFile(FileSelectInfo fileInfo)Determines if a file or folder should be selected.booleanFileObject. isHidden()Determines if this file is hidden.booleanFileObject. isReadable()Determines if this file can be read.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 underlaying filesystem if requiredvoidFileSystem. removeJunction(java.lang.String junctionPoint)Removes a junction from this file system.java.io.FileFileSystem. replicateFile(FileObject file, FileSelector selector)Creates a temporary local copy of a file and its descendents.FileObjectFileObject. resolveFile(java.lang.String path)Finds a file, relative to this file.FileObjectFileObject. resolveFile(java.lang.String name, NameScope scope)Finds a file, relative to this file.FileObjectFileSystem. resolveFile(java.lang.String name)Finds a file in this file system.FileObjectFileSystem. resolveFile(FileName name)Finds a file in this file system.FileObjectFileSystemManager. resolveFile(java.io.File baseFile, java.lang.String name)Locates a file by name.FileObjectFileSystemManager. resolveFile(java.lang.String name)Locates a file by name.FileObjectFileSystemManager. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)Locates a file by name.FileObjectFileSystemManager. resolveFile(FileObject baseFile, java.lang.String name)Locates a file by name.FileNameFileSystemManager. resolveName(FileName root, java.lang.String name)Resolves a name, relative to this file name.FileNameFileSystemManager. resolveName(FileName root, java.lang.String name, NameScope scope)Resolves a name, relative to the "root" file name.FileNameFileSystemManager. resolveURI(java.lang.String uri)Resolve the uri to a filenamevoidFileContent. setAttribute(java.lang.String attrName, java.lang.Object value)Sets the value of an attribute of the file's content.voidFileSystem. setAttribute(java.lang.String attrName, java.lang.Object value)Sets the value of an attribute of the file's content.voidFileContent. setLastModifiedTime(long modTime)Sets the last-modified timestamp of the file.FileObjectFileSystemManager. toFileObject(java.io.File file)Converts a local file into aFileObject. -
Uses of FileSystemException in org.apache.commons.vfs.cache
Methods in org.apache.commons.vfs.cache that throw FileSystemException Modifier and Type Method Description voidOnCallRefreshFileObject. close()voidOnCallRefreshFileObject. copyFrom(FileObject srcFile, FileSelector selector)voidOnCallRefreshFileObject. createFile()voidOnCallRefreshFileObject. createFolder()booleanOnCallRefreshFileObject. delete()intOnCallRefreshFileObject. delete(FileSelector selector)booleanOnCallRefreshFileObject. exists()FileObject[]OnCallRefreshFileObject. findFiles(FileSelector selector)voidOnCallRefreshFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List selected)FileObjectOnCallRefreshFileObject. getChild(java.lang.String name)FileObject[]OnCallRefreshFileObject. getChildren()FileContentOnCallRefreshFileObject. getContent()FileTypeOnCallRefreshFileObject. getType()booleanOnCallRefreshFileObject. isHidden()booleanOnCallRefreshFileObject. isReadable()booleanOnCallRefreshFileObject. isWriteable()voidOnCallRefreshFileObject. moveTo(FileObject destFile)FileObjectOnCallRefreshFileObject. resolveFile(java.lang.String path)FileObjectOnCallRefreshFileObject. resolveFile(java.lang.String name, NameScope scope) -
Uses of FileSystemException in org.apache.commons.vfs.impl
Methods in org.apache.commons.vfs.impl that throw FileSystemException Modifier and Type Method Description voidVirtualFileSystem. addJunction(java.lang.String junctionPoint, FileObject targetFile)Adds a junction to this file system.voidDefaultFileSystemManager. addOperationProvider(java.lang.String[] schemes, FileOperationProvider operationProvider)voidDefaultFileSystemManager. addOperationProvider(java.lang.String scheme, FileOperationProvider operationProvider)Adds the specified FileOperationProvider for the specified scheme.voidDefaultFileSystemManager. addProvider(java.lang.String[] urlSchemes, FileProvider provider)Registers a file system provider.voidDefaultFileSystemManager. addProvider(java.lang.String urlScheme, FileProvider provider)Registers a file system provider.java.io.FileDefaultFileReplicator. allocateFile(java.lang.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()protected voidStandardFileSystemManager. configurePlugins()Scans the classpath to find any droped plugin.
The plugin-description has to be in /META-INF/vfs-providers.xmlvoidDecoratedFileObject. copyFrom(FileObject srcFile, FileSelector selector)voidSynchronizedFileObject. copyFrom(FileObject srcFile, FileSelector selector)protected java.io.FileDefaultFileReplicator. createAndAddFile(java.io.File parent, java.lang.String basename)voidDecoratedFileObject. createFile()protected java.io.FileDefaultFileReplicator. createFile(java.io.File parent, java.lang.String name)create the temporary filevoidSynchronizedFileObject. createFile()FileObjectDefaultFileSystemManager. createFileSystem(java.lang.String scheme, FileObject file)Creates a layered file system.FileObjectDefaultFileSystemManager. createFileSystem(FileObject file)Creates a layered file system.FileObjectVirtualFileProvider. createFileSystem(java.lang.String rootUri)Creates an empty virtual file system.FileObjectVirtualFileProvider. createFileSystem(FileObject rootFile)Creates a virtual file system, with the supplied file as its root.voidDecoratedFileObject. createFolder()voidSynchronizedFileObject. createFolder()FileObjectDefaultFileSystemManager. createVirtualFileSystem(java.lang.String rootUri)Creates an empty virtual file system.FileObjectDefaultFileSystemManager. createVirtualFileSystem(FileObject rootFile)Creates a virtual file system.booleanDecoratedFileObject. delete()intDecoratedFileObject. delete(FileSelector selector)booleanSynchronizedFileObject. delete()intSynchronizedFileObject. delete(FileSelector selector)booleanDecoratedFileObject. exists()booleanSynchronizedFileObject. exists()FileObject[]DecoratedFileObject. findFiles(FileSelector selector)voidDecoratedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List selected)FileObject[]SynchronizedFileObject. findFiles(FileSelector selector)voidSynchronizedFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List selected)FileObjectDefaultFileSystemManager. getBaseFile()Returns the base file used to resolve relative URI.FileObjectDecoratedFileObject. getChild(java.lang.String name)FileObjectSynchronizedFileObject. getChild(java.lang.String name)FileObject[]DecoratedFileObject. getChildren()FileObject[]SynchronizedFileObject. getChildren()FileContentDecoratedFileObject. getContent()FileContentSynchronizedFileObject. getContent()FileOperationsDecoratedFileObject. getFileOperations()FileSystemConfigBuilderDefaultFileSystemManager. getFileSystemConfigBuilder(java.lang.String scheme)Get the configuration builder for the given schemeFileOperationProvider[]DefaultFileSystemManager. getOperationProviders(java.lang.String scheme)FileObjectDecoratedFileObject. getParent()java.util.CollectionDefaultFileSystemManager. getProviderCapabilities(java.lang.String scheme)Get the capabilities for a given scheme.FileReplicatorDefaultFileSystemManager. getReplicator()Returns the file replicator.TemporaryFileStoreDefaultFileSystemManager. getTemporaryFileStore()Returns the temporary file store.FileTypeDecoratedFileObject. getType()FileTypeSynchronizedFileObject. getType()java.net.URLDecoratedFileObject. getURL()voidDefaultFileReplicator. init()Initialises this component.voidDefaultFileSystemManager. init()Initialises this manager.voidPrivilegedFileReplicator. init()Initialises the component.voidStandardFileSystemManager. init()Initializes this manager.booleanDecoratedFileObject. isHidden()booleanSynchronizedFileObject. isHidden()booleanDecoratedFileObject. isReadable()booleanSynchronizedFileObject. isReadable()booleanDecoratedFileObject. isWriteable()booleanSynchronizedFileObject. isWriteable()voidDecoratedFileObject. moveTo(FileObject destFile)voidSynchronizedFileObject. moveTo(FileObject destFile)voidDecoratedFileObject. refresh()voidVirtualFileSystem. removeJunction(java.lang.String junctionPoint)Removes a junction from this file system.java.io.FileDefaultFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)Creates a local copy of the file, and all its descendents.java.io.FilePrivilegedFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)Creates a local copy of the file, and all its descendents.FileObjectDecoratedFileObject. resolveFile(java.lang.String path)FileObjectDecoratedFileObject. resolveFile(java.lang.String name, NameScope scope)FileObjectDefaultFileSystemManager. resolveFile(java.io.File baseFile, java.lang.String uri)Locates a file by URI.FileObjectDefaultFileSystemManager. resolveFile(java.lang.String uri)Locates a file by URI.FileObjectDefaultFileSystemManager. resolveFile(java.lang.String uri, FileSystemOptions fileSystemOptions)Locate a file by URI, use the FileSystemOptions for file-system creationFileObjectDefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri)Resolves a URI, relative to a base file.FileObjectDefaultFileSystemManager. resolveFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Resolves a URI, realtive to a base file with specified FileSystem configurationFileObjectSynchronizedFileObject. resolveFile(java.lang.String path)FileObjectSynchronizedFileObject. resolveFile(java.lang.String name, NameScope scope)FileNameDefaultFileSystemManager. resolveName(FileName root, java.lang.String path)Resolves a name, relative to the file.FileNameDefaultFileSystemManager. resolveName(FileName base, java.lang.String name, NameScope scope)Resolves a name, relative to the root.FileNameDefaultFileSystemManager. resolveURI(java.lang.String uri)resolve the uri to a filenamevoidDefaultFileSystemManager. setBaseFile(java.io.File baseFile)Sets the base file to use when resolving relative URI.voidDefaultFileSystemManager. setBaseFile(FileObject 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.voidDefaultFileSystemManager. setFileContentInfoFactory(FileContentInfoFactory fileContentInfoFactory)set the fileContentInfoFactory used to determine the infos of a file content.voidDefaultFileSystemManager. setFileObjectDecorator(java.lang.Class fileObjectDecorator)set a fileObject decorator to be used for ALL returned file objectsvoidDefaultFileSystemManager. setFilesCache(FilesCache filesCache)Sets the filesCache implementation used to cache filesvoidDefaultFileSystemManager. setReplicator(FileReplicator replicator)Sets the file replicator to use.voidDefaultFileSystemManager. setTemporaryFileStore(TemporaryFileStore tempFileStore)Sets the temporary file store to use.voidDefaultFileSystemConfigBuilder. setUserAuthenticator(FileSystemOptions opts, UserAuthenticator userAuthenticator)Sets the user authenticator to get authentication informationsFileObjectDefaultFileSystemManager. toFileObject(java.io.File file)Converts a local file into aFileObject.Constructors in org.apache.commons.vfs.impl that throw FileSystemException Constructor Description VFSClassLoader(FileObject[] files, FileSystemManager manager)Constructors a new VFSClassLoader for the given files.VFSClassLoader(FileObject[] files, FileSystemManager manager, java.lang.ClassLoader parent)Constructors a new VFSClassLoader for the given FileObjects.VFSClassLoader(FileObject file, FileSystemManager manager)Constructors a new VFSClassLoader for the given file.VFSClassLoader(FileObject file, FileSystemManager manager, java.lang.ClassLoader parent)Constructors a new VFSClassLoader for the given file. -
Uses of FileSystemException in org.apache.commons.vfs.operations
Methods in org.apache.commons.vfs.operations that throw FileSystemException Modifier and Type Method Description protected voidAbstractFileOperationProvider. addOperation(java.lang.Class operationClass)voidAbstractFileOperationProvider. collectOperations(java.util.Collection operationsList, FileObject file)Gather available operations for the specified FileObject and put them into specified operationsList.voidFileOperationProvider. collectOperations(java.util.Collection operationsList, FileObject file)Gather available operations for the specified FileObject and put them into specified operationsList.protected abstract voidAbstractFileOperationProvider. doCollectOperations(java.util.Collection availableOperations, java.util.Collection resultList, FileObject file)FileOperationAbstractFileOperationProvider. getOperation(FileObject file, java.lang.Class operationClass)FileOperationDefaultFileOperations. getOperation(java.lang.Class operationClass)FileOperationFileOperationProvider. getOperation(FileObject file, java.lang.Class operationClass)FileOperationFileOperations. getOperation(java.lang.Class operationClass)java.lang.Class[]DefaultFileOperations. getOperations()java.lang.Class[]FileOperations. getOperations()booleanDefaultFileOperations. hasOperation(java.lang.Class operationClass)booleanFileOperations. hasOperation(java.lang.Class operationClass)protected abstract FileOperationAbstractFileOperationProvider. instantiateOperation(FileObject file, java.lang.Class operationClass)protected java.lang.ClassAbstractFileOperationProvider. lookupOperation(java.lang.Class operationClass)voidFileOperation. process()Performs necessary actions that are related to the concrete implementation of a FileOperation. -
Uses of FileSystemException in org.apache.commons.vfs.operations.vcs
Methods in org.apache.commons.vfs.operations.vcs that throw FileSystemException Modifier and Type Method Description voidVcsLogEntryHandler. handleLogEntry(VcsLogEntry entry) -
Uses of FileSystemException in org.apache.commons.vfs.provider
Methods in org.apache.commons.vfs.provider that throw FileSystemException Modifier and Type Method Description protected voidAbstractVfsContainer. addComponent(java.lang.Object component)Adds a sub-component to this component.protected voidAbstractFileProvider. addFileSystem(java.lang.Comparable key, FileSystem fs)Adds a file system to those cached by this provider.voidAbstractFileSystem. addJunction(java.lang.String junctionPoint, FileObject targetFile)Adds a junction to this file system.java.io.FileTemporaryFileStore. allocateFile(java.lang.String basename)Allocates a new temporary file.static voidUriParser. canonicalizePath(java.lang.StringBuffer buffer, int offset, int length, FileNameParser fileNameParser)static voidUriParser. checkUriEncoding(java.lang.String uri)voidAbstractFileObject. close()Closes this file, and its content.voidDefaultFileContent. close()Closes all resources used by the content, including all streams, readers and writers.voidDelegateFileObject. close()Close the delegated filevoidAbstractFileObject. copyFrom(FileObject file, FileSelector selector)Copies another file to this file.voidAbstractFileObject. createFile()Creates this file, if it does not exist.FileObjectAbstractFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions properties)Creates a layered file system.FileObjectAbstractLayeredFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.FileObjectFileProvider. createFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.voidAbstractFileObject. createFolder()Creates this folder, if it does not exist.static java.lang.StringUriParser. decode(java.lang.String encodedStr)Removes %nn encodings from a string.static voidUriParser. decode(java.lang.StringBuffer 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.protected abstract FileSystemAbstractLayeredFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected abstract FileSystemAbstractOriginatingFileProvider. doCreateFileSystem(FileName rootName, FileSystemOptions fileSystemOptions)Creates aFileSystem.protected FileTypeDelegateFileObject. doGetType()Determines the type of the file, returns null if the file does not exist.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.
E.g.protected booleanDelegateFileObject. doIsWriteable()Determines if this file can be written to.booleanAbstractFileObject. exists()Determines if the file exists.protected intHostFileNameParser. extractPort(java.lang.StringBuffer name, java.lang.String uri)Extracts the port from a URI.protected java.lang.StringLayeredFileNameParser. extractRootName(java.lang.StringBuffer uri)Pops the root prefix off a URI, which has had the scheme removed.protected HostFileNameParser.AuthorityHostFileNameParser. extractToPath(java.lang.String uri, java.lang.StringBuffer name)Extracts the scheme, userinfo, hostname and port components of a generic URI.FileObjectAbstractLayeredFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions properties)Locates a file object, by absolute URI.protected FileObjectAbstractOriginatingFileProvider. findFile(FileName name, FileSystemOptions fileSystemOptions)Locates a file from its parsed URI.FileObjectAbstractOriginatingFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObjectCompositeFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObjectFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileObject[]AbstractFileObject. findFiles(FileSelector selector)Finds the set of matching descendents of this file, in depthwise order.voidAbstractFileObject. findFiles(FileSelector selector, boolean depthwise, java.util.List selected)Traverses the descendents of this file, and builds a list of selected files.FileObjectLocalFileProvider. findLocalFile(java.io.File file)Converts from java.io.File to FileObject.FileObjectLocalFileProvider. findLocalFile(java.lang.String name)Finds a local file, from its local name.java.lang.ObjectAbstractFileSystem. getAttribute(java.lang.String attrName)Retrieves the attribute with the specified name.java.lang.ObjectDefaultFileContent. getAttribute(java.lang.String attrName)Gets the value of an attribute.java.lang.String[]DefaultFileContent. getAttributeNames()Lists the attributes of this file.java.util.MapDefaultFileContent. getAttributes()Returns a read-only map of this file's attributes.java.security.cert.Certificate[]DefaultFileContent. getCertificates()Returns the certificates used to sign this file.FileObjectAbstractFileObject. getChild(java.lang.String name)Returns a child of this file.FileObject[]AbstractFileObject. getChildren()Returns the children of the file.FileContentAbstractFileObject. getContent()Returns the file's content.FileContentInfoDefaultFileContent. getContentInfo()get the content info.FileOperationsAbstractFileObject. getFileOperations()java.io.InputStreamAbstractFileObject. getInputStream()Returns an input stream to use to read the content of the file.java.io.InputStreamDefaultFileContent. getInputStream()Returns an input stream for reading the content.longDefaultFileContent. getLastModifiedTime()Returns the last-modified timestamp.java.io.OutputStreamAbstractFileObject. getOutputStream()Prepares this file for writing.java.io.OutputStreamAbstractFileObject. getOutputStream(boolean bAppend)Prepares this file for writing.java.io.OutputStreamDefaultFileContent. getOutputStream()Returns an output stream for writing the content.java.io.OutputStreamDefaultFileContent. getOutputStream(boolean bAppend)Returns an output stream for writing the content in append mode.FileObjectAbstractFileObject. getParent()Returns the parent of the file.FileObjectAbstractFileSystem. getParentLayer()Returns the parent layer if this is a layered file system.java.lang.StringAbstractFileName. getPathDecoded()java.lang.StringURLFileName. getPathQueryEncoded(java.lang.String charset)get the path encoded suitable for url like filesystem e.g.RandomAccessContentAbstractFileObject. getRandomAccessContent(RandomAccessMode mode)Returns an input/output stream to use to read and write the content of the file in and random manner.RandomAccessContentDefaultFileContent. getRandomAccessContent(RandomAccessMode mode)Returns an input/output stream to use to read and write the content of the file in an random manner.java.lang.StringAbstractFileName. getRelativeName(FileName name)Converts a file name to a relative name, relative to this file name.FileReplicatorVfsComponentContext. getReplicator()Locates a file replicator for the provider to use.FileObjectAbstractFileSystem. getRoot()Returns the root file of this file system.longDefaultFileContent. getSize()Returns the size of the content (in bytes).TemporaryFileStoreVfsComponentContext. getTemporaryFileStore()Locates a temporary file store for the provider to use.FileTypeAbstractFileObject. getType()Returns the file's type.java.lang.StringURLFileName. getURIEncoded(java.lang.String charset)java.net.URLAbstractFileObject. getURL()Returns a URL representation of the file.voidAbstractFileSystem. init()Initialises this component.voidAbstractVfsComponent. init()Initialises the component.voidVfsComponent. init()Initialises the component.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.
E.g.booleanAbstractFileObject. isWriteable()Determines if this file can be written to.voidAbstractFileObject. moveTo(FileObject destFile)Moves (rename) the file to another onestatic FileTypeUriParser. normalisePath(java.lang.StringBuffer path)Normalises a path.FileNameAbstractFileProvider. parseUri(FileName base, java.lang.String uri)Parses an absolute URI.FileNameFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)parses a String into a filenameFileNameFileProvider. parseUri(FileName root, java.lang.String uri)FileNameHostFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)FileNameLayeredFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)FileNameURLFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)FileNameVfsComponentContext. parseURI(java.lang.String uri)voidAbstractFileObject. refresh()This will prepare the fileObject to get resynchronized with the underlaying filesystem if requiredvoidAbstractFileSystem. removeJunction(java.lang.String junctionPoint)Removes a junction from this file system.java.io.FileAbstractFileSystem. replicateFile(FileObject file, FileSelector selector)Creates a temporary local copy of a file and its descendents.java.io.FileFileReplicator. replicateFile(FileObject srcFile, FileSelector selector)Creates a local copy of the file, and all its descendents.FileObjectAbstractFileObject. resolveFile(java.lang.String path)Finds a file, relative to this file.FileObjectAbstractFileObject. resolveFile(java.lang.String name, NameScope scope)Returns a child by name.FileObjectAbstractFileSystem. resolveFile(java.lang.String nameStr)Finds a file in this file system.FileObjectAbstractFileSystem. resolveFile(FileName name)Finds a file in this file system.FileObjectVfsComponentContext. resolveFile(java.lang.String name, FileSystemOptions fileSystemOptions)Locate a file by name.FileObjectVfsComponentContext. resolveFile(FileObject baseFile, java.lang.String name, FileSystemOptions fileSystemOptions)Locate a file by name.voidAbstractFileSystem. setAttribute(java.lang.String attrName, java.lang.Object value)Sets the attribute with the specified name.voidDefaultFileContent. setAttribute(java.lang.String attrName, java.lang.Object value)Sets the value of an attribute.voidDefaultFileContent. setLastModifiedTime(long modTime)Sets the last-modified timestamp.FileObjectVfsComponentContext. toFileObject(java.io.File file)Returns aFileObjectfor a local file.Constructors in org.apache.commons.vfs.provider that throw FileSystemException Constructor Description DelegateFileObject(FileName name, AbstractFileSystem fileSystem, FileObject file) -
Uses of FileSystemException in org.apache.commons.vfs.provider.bzip2
Methods in org.apache.commons.vfs.provider.bzip2 that throw FileSystemException Modifier and Type Method Description protected FileObjectBzip2FileSystem. createFile(FileName name)protected FileSystemBzip2FileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)Constructors in org.apache.commons.vfs.provider.bzip2 that throw FileSystemException Constructor Description Bzip2FileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemException in org.apache.commons.vfs.provider.compressed
Methods in org.apache.commons.vfs.provider.compressed that throw FileSystemException Modifier and Type Method Description voidCompressedFileFileObject. createFile()protected abstract FileObjectCompressedFileFileSystem. createFile(FileName name)Creates a file object.protected abstract FileSystemCompressedFileFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)protected FileSystemCompressedFileFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected FileTypeCompressedFileFileObject. doGetType()Returns the file's type.voidCompressedFileFileSystem. init()booleanCompressedFileFileObject. isWriteable()Determines if this file can be written to.Constructors in org.apache.commons.vfs.provider.compressed that throw FileSystemException Constructor Description CompressedFileFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemException in org.apache.commons.vfs.provider.ftp
Methods in org.apache.commons.vfs.provider.ftp that throw FileSystemException Modifier and Type Method Description static org.apache.commons.net.ftp.FTPClientFtpClientFactory. createConnection(java.lang.String hostname, int port, char[] username, char[] password, java.lang.String workingDirectory, FileSystemOptions fileSystemOptions)Creates a new connection to the server.protected FileObjectFtpFileSystem. createFile(FileName name)Creates a file object.protected FileSystemFtpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates the filesystem.FtpClientFtpFileSystem. getClient()Creates an FTP client to use.booleanFtpClient. isConnected()voidFtpFileObject. refresh()Constructors in org.apache.commons.vfs.provider.ftp that throw FileSystemException Constructor Description FtpFileObject(FileName name, FtpFileSystem fileSystem, FileName rootName) -
Uses of FileSystemException in org.apache.commons.vfs.provider.gzip
Methods in org.apache.commons.vfs.provider.gzip that throw FileSystemException Modifier and Type Method Description protected FileObjectGzipFileSystem. createFile(FileName name)protected FileSystemGzipFileProvider. createFileSystem(FileName name, FileObject file, FileSystemOptions fileSystemOptions)Constructors in org.apache.commons.vfs.provider.gzip that throw FileSystemException Constructor Description GzipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemException in org.apache.commons.vfs.provider.http
Methods in org.apache.commons.vfs.provider.http that throw FileSystemException Modifier and Type Method Description FileContentInfoHttpFileContentInfoFactory. create(FileContent fileContent)static org.apache.commons.httpclient.HttpClientHttpClientFactory. createConnection(java.lang.String scheme, java.lang.String hostname, int port, java.lang.String username, java.lang.String password, FileSystemOptions fileSystemOptions)Creates a new connection to the server.protected FileSystemHttpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates aFileSystem. -
Uses of FileSystemException in org.apache.commons.vfs.provider.jar
Methods in org.apache.commons.vfs.provider.jar that throw FileSystemException Modifier and Type Method Description protected java.util.zip.ZipFileJarFileSystem. createZipFile(java.io.File file)protected ZipFileObjectJarFileSystem. createZipFileObject(FileName name, java.util.zip.ZipEntry entry)protected FileSystemJarFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.java.lang.ObjectJarFileSystem. getAttribute(java.lang.String attrName)Retrives the attribute with the specified name.protected java.util.zip.ZipFileJarFileSystem. getZipFile()Constructors in org.apache.commons.vfs.provider.jar that throw FileSystemException Constructor Description JarFileObject(FileName name, java.util.zip.ZipEntry entry, JarFileSystem fs, boolean zipExists)JarFileSystem(FileName rootName, FileObject file, FileSystemOptions fileSystemOptions)JarURLConnectionImpl(JarFileObject file, FileContent content) -
Uses of FileSystemException in org.apache.commons.vfs.provider.local
Methods in org.apache.commons.vfs.provider.local that throw FileSystemException Modifier and Type Method Description protected FileObjectLocalFileSystem. createFile(FileName name)Creates a file object.protected FileSystemDefaultLocalFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates the filesystem.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. doIsWriteable()Determines if this file can be written to.protected voidLocalFile. doSetLastModifiedTime(long modtime)Sets the last modified time of this file.protected java.lang.StringGenericFileNameParser. extractRootPrefix(java.lang.String uri, java.lang.StringBuffer name)Pops the root prefix off a URI, which has had the scheme removed.protected abstract java.lang.StringLocalFileNameParser. extractRootPrefix(java.lang.String uri, java.lang.StringBuffer name)Pops the root prefix off a URI, which has had the scheme removed.protected java.lang.StringWindowsFileNameParser. extractRootPrefix(java.lang.String uri, java.lang.StringBuffer name)Pops the root prefix off a URI, which has had the scheme removed.FileObjectDefaultLocalFileProvider. findLocalFile(java.io.File file)Finds a local file.FileObjectDefaultLocalFileProvider. findLocalFile(java.lang.String name)Finds a local file, from its local name.FileNameLocalFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename)Constructors in org.apache.commons.vfs.provider.local that throw FileSystemException Constructor Description LocalFile(LocalFileSystem fileSystem, java.lang.String rootFile, FileName name)Creates a non-root file. -
Uses of FileSystemException in org.apache.commons.vfs.provider.ram
Methods in org.apache.commons.vfs.provider.ram that throw FileSystemException Modifier and Type Method Description protected FileSystemRamFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)voidRamFileSystem. importTree(java.io.File file)Import a Tree -
Uses of FileSystemException in org.apache.commons.vfs.provider.res
Methods in org.apache.commons.vfs.provider.res that throw FileSystemException Modifier and Type Method Description FileObjectResourceFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI. -
Uses of FileSystemException in org.apache.commons.vfs.provider.sftp
Methods in org.apache.commons.vfs.provider.sftp that throw FileSystemException Modifier and Type Method Description static com.jcraft.jsch.SessionSftpClientFactory. createConnection(java.lang.String hostname, int port, char[] username, char[] password, FileSystemOptions fileSystemOptions)Creates a new connection to the server.protected FileObjectSftpFileSystem. createFile(FileName name)Creates a file object.protected FileSystemSftpFileProvider. doCreateFileSystem(FileName name, FileSystemOptions fileSystemOptions)Creates aFileSystem.voidSftpFileProvider. init()Initialises the component.voidSftpFileSystemConfigBuilder. setCompression(FileSystemOptions opts, java.lang.String compression)configure the compression to use.
e.g.voidSftpFileSystemConfigBuilder. setIdentities(FileSystemOptions opts, java.io.File[] identities)Set the identity files (your private key files).
Need to use a java.io.File as JSch cant deal with vfs FileObjects ;-)voidSftpFileSystemConfigBuilder. setKnownHosts(FileSystemOptions opts, java.io.File sshdir)Set the known_hosts file.voidSftpFileSystemConfigBuilder. setStrictHostKeyChecking(FileSystemOptions opts, java.lang.String hostKeyChecking)configure the host key checking to use.
valid arguments are only yes, no and ask.
See the jsch documentation for details.Constructors in org.apache.commons.vfs.provider.sftp that throw FileSystemException Constructor Description SftpFileObject(FileName name, SftpFileSystem fileSystem) -
Uses of FileSystemException in org.apache.commons.vfs.provider.tar
Methods in org.apache.commons.vfs.provider.tar that throw FileSystemException Modifier and Type Method Description protected FileObjectTarFileSystem. createFile(FileName name)Creates a file object.protected org.apache.commons.vfs.provider.tar.TarInputStreamTarFileSystem. createTarFile(java.io.File file)protected TarFileObjectTarFileSystem. createTarFileObject(FileName name, org.apache.commons.vfs.provider.tar.TarEntry entry)protected FileSystemTarFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.java.io.InputStreamTarFileSystem. getInputStream(org.apache.commons.vfs.provider.tar.TarEntry entry)protected org.apache.commons.vfs.provider.tar.TarInputStreamTarFileSystem. getTarFile()voidTarFileSystem. init()booleanTarFileObject. isWriteable()Determines if this file can be written to.protected voidTarFileSystem. resetTarFile()Constructors in org.apache.commons.vfs.provider.tar that throw FileSystemException Constructor Description TarFileObject(FileName name, org.apache.commons.vfs.provider.tar.TarEntry entry, TarFileSystem fs, boolean tarExists)TarFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemException in org.apache.commons.vfs.provider.temp
Methods in org.apache.commons.vfs.provider.temp that throw FileSystemException Modifier and Type Method Description FileObjectTemporaryFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions properties)Locates a file object, by absolute URI. -
Uses of FileSystemException in org.apache.commons.vfs.provider.url
Methods in org.apache.commons.vfs.provider.url that throw FileSystemException Modifier and Type Method Description protected java.net.URLUrlFileObject. createURL(FileName name)FileObjectUrlFileProvider. findFile(FileObject baseFile, java.lang.String uri, FileSystemOptions fileSystemOptions)Locates a file object, by absolute URI.FileNameUrlFileNameParser. parseUri(VfsComponentContext context, FileName base, java.lang.String filename) -
Uses of FileSystemException in org.apache.commons.vfs.provider.zip
Methods in org.apache.commons.vfs.provider.zip that throw FileSystemException Modifier and Type Method Description protected FileObjectZipFileSystem. createFile(FileName name)Creates a file object.protected java.util.zip.ZipFileZipFileSystem. createZipFile(java.io.File file)protected ZipFileObjectZipFileSystem. createZipFileObject(FileName name, java.util.zip.ZipEntry entry)protected FileSystemZipFileProvider. doCreateFileSystem(java.lang.String scheme, FileObject file, FileSystemOptions fileSystemOptions)Creates a layered file system.protected java.util.zip.ZipFileZipFileSystem. getZipFile()voidZipFileSystem. init()booleanZipFileObject. isWriteable()Determines if this file can be written to.Constructors in org.apache.commons.vfs.provider.zip that throw FileSystemException Constructor Description ZipFileObject(FileName name, java.util.zip.ZipEntry entry, ZipFileSystem fs, boolean zipExists)ZipFileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) -
Uses of FileSystemException in org.apache.commons.vfs.tasks
Methods in org.apache.commons.vfs.tasks that throw FileSystemException Modifier and Type Method Description protected 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(java.lang.String uri)Resolves a URI to a file, relative to the project's base directory. -
Uses of FileSystemException in org.apache.commons.vfs.util
Methods in org.apache.commons.vfs.util that throw FileSystemException Modifier and Type Method Description static AbstractFileObjectFileObjectUtils. getAbstractFileObject(FileObject fileObject)get access to the base object even if decoratedstatic booleanFileObjectUtils. isInstanceOf(FileObject fileObject, java.lang.Class wantedClass)check if the given FileObject is instance of given class argumentvoidDelegatingFileSystemOptionsBuilder. setConfigClass(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.Class className)Set a single class value.
The class has to implement a no-args constructor, else the instantiation might fail.voidDelegatingFileSystemOptionsBuilder. setConfigClasses(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.Class[] classNames)Set an array of class values.
The class has to implement a no-args constructor, else the instantiation might fail.voidDelegatingFileSystemOptionsBuilder. setConfigString(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.String value)Set a single string value.voidDelegatingFileSystemOptionsBuilder. setConfigStrings(FileSystemOptions fso, java.lang.String scheme, java.lang.String name, java.lang.String[] values)Set an array of string value.
-