|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of FileSystemException in org.apache.commons.vfs |
---|
Methods in org.apache.commons.vfs that throw FileSystemException | |
---|---|
void |
FileSystem.addJunction(java.lang.String junctionPoint,
FileObject targetFile)
Adds a junction to this file system. |
void |
FileSystemManager.addOperationProvider(java.lang.String[] schemes,
FileOperationProvider operationProvider)
|
void |
FileSystemManager.addOperationProvider(java.lang.String scheme,
FileOperationProvider operationProvider)
Adds the specified FileOperationProvider for the specified scheme. |
boolean |
FileSystemManager.canCreateFileSystem(FileObject file)
Determines if a layered file system can be created for a given file. |
void |
FileObject.close()
Closes this file, and its content. |
void |
FileContent.close()
Closes all resources used by the content, including any open stream. |
void |
FileObject.copyFrom(FileObject srcFile,
FileSelector selector)
Copies another file, and all its descendents, to this file. |
FileContentInfo |
FileContentInfoFactory.create(FileContent fileContent)
|
void |
FileObject.createFile()
Creates this file, if it does not exist. |
FileObject |
FileSystemManager.createFileSystem(FileObject file)
Creates a layered file system. |
FileObject |
FileSystemManager.createFileSystem(java.lang.String provider,
FileObject file)
Creates a layered file system. |
void |
FileObject.createFolder()
Creates this folder, if it does not exist. |
private static FileSystemManager |
VFS.createManager(java.lang.String managerClassName)
Creates a file system manager instance. |
FileObject |
FileSystemManager.createVirtualFileSystem(FileObject rootFile)
Creates a virtual file system. |
FileObject |
FileSystemManager.createVirtualFileSystem(java.lang.String rootUri)
Creates an empty virtual file system. |
boolean |
FileObject.delete()
Deletes this file. |
int |
FileObject.delete(FileSelector selector)
Deletes all descendents of this file that match a selector. |
boolean |
FileObject.exists()
Determines if this file exists. |
FileObject[] |
FileObject.findFiles(FileSelector selector)
Finds the set of matching descendents of this file, in depthwise order. |
void |
FileObject.findFiles(FileSelector selector,
boolean depthwise,
java.util.List selected)
Finds the set of matching descendents of this file. |
java.lang.Object |
FileSystem.getAttribute(java.lang.String attrName)
Gets the value of an attribute of the file system. |
java.lang.Object |
FileContent.getAttribute(java.lang.String attrName)
Gets the value of an attribute of the file's content. |
java.lang.String[] |
FileContent.getAttributeNames()
Lists the attributes of the file's content. |
java.util.Map |
FileContent.getAttributes()
Returns a read-only map of this file's attributes. |
FileObject |
FileSystemManager.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. |
FileObject |
FileObject.getChild(java.lang.String name)
Returns a child of this file. |
FileObject[] |
FileObject.getChildren()
Lists the children of this file. |
FileContent |
FileObject.getContent()
Returns this file's content. |
FileContentInfo |
FileContent.getContentInfo()
get the content info. |
FileOperations |
FileObject.getFileOperations()
|
FileSystemConfigBuilder |
FileSystemManager.getFileSystemConfigBuilder(java.lang.String scheme)
Get the configuration builder for the given scheme |
java.io.InputStream |
FileContent.getInputStream()
Returns an input stream for reading the file's content. |
long |
FileContent.getLastModifiedTime()
Determines the last-modified timestamp of the file. |
static FileSystemManager |
VFS.getManager()
Returns the default FileSystemManager instance |
FileOperationProvider[] |
FileSystemManager.getOperationProviders(java.lang.String scheme)
|
java.io.OutputStream |
FileContent.getOutputStream()
Returns an output stream for writing the file's content. |
java.io.OutputStream |
FileContent.getOutputStream(boolean bAppend)
Returns an output stream for writing the file's content. |
FileObject |
FileObject.getParent()
Returns the folder that contains this file. |
FileObject |
FileSystem.getParentLayer()
Returns the parent layer if this is a layered file system. |
java.lang.String |
FileName.getPathDecoded()
Returns the absolute path of this file, within its file system. |
java.util.Collection |
FileSystemManager.getProviderCapabilities(java.lang.String scheme)
Get the capabilities for a given scheme. |
RandomAccessContent |
FileContent.getRandomAccessContent(RandomAccessMode mode)
Returns an stream for reading/writing the file's content. |
java.lang.String |
FileName.getRelativeName(FileName name)
Converts a file name to a relative name, relative to this file name. |
FileObject |
FileSystem.getRoot()
Returns the root file of this file system. |
long |
FileContent.getSize()
Determines the size of the file, in bytes. |
FileType |
FileObject.getType()
Returns this file's type. |
java.net.URL |
FileObject.getURL()
Returns a URL representing this file. |
boolean |
FileTypeSelector.includeFile(FileSelectInfo fileInfo)
Determines if a file or folder should be selected. |
boolean |
FileObject.isHidden()
Determines if this file is hidden. |
boolean |
FileObject.isReadable()
Determines if this file can be read. |
boolean |
FileObject.isWriteable()
Determines if this file can be written to. |
void |
FileObject.moveTo(FileObject destFile)
Move this file. |
void |
FileObject.refresh()
This will prepare the fileObject to get resynchronized with the underlaying filesystem if required |
void |
FileSystem.removeJunction(java.lang.String junctionPoint)
Removes a junction from this file system. |
java.io.File |
FileSystem.replicateFile(FileObject file,
FileSelector selector)
Creates a temporary local copy of a file and its descendents. |
FileObject |
FileSystem.resolveFile(FileName name)
Finds a file in this file system. |
FileObject |
FileSystemManager.resolveFile(FileObject baseFile,
java.lang.String name)
Locates a file by name. |
FileObject |
FileSystemManager.resolveFile(java.io.File baseFile,
java.lang.String name)
Locates a file by name. |
FileObject |
FileSystemManager.resolveFile(java.lang.String name)
Locates a file by name. |
FileObject |
FileObject.resolveFile(java.lang.String path)
Finds a file, relative to this file. |
FileObject |
FileSystem.resolveFile(java.lang.String name)
Finds a file in this file system. |
FileObject |
FileSystemManager.resolveFile(java.lang.String name,
FileSystemOptions fileSystemOptions)
Locates a file by name. |
FileObject |
FileObject.resolveFile(java.lang.String name,
NameScope scope)
Finds a file, relative to this file. |
FileName |
FileSystemManager.resolveName(FileName root,
java.lang.String name)
Resolves a name, relative to this file name. |
FileName |
FileSystemManager.resolveName(FileName root,
java.lang.String name,
NameScope scope)
Resolves a name, relative to the "root" file name. |
FileName |
FileSystemManager.resolveURI(java.lang.String uri)
Resolve the uri to a filename |
void |
FileSystem.setAttribute(java.lang.String attrName,
java.lang.Object value)
Sets the value of an attribute of the file's content. |
void |
FileContent.setAttribute(java.lang.String attrName,
java.lang.Object value)
Sets the value of an attribute of the file's content. |
void |
FileContent.setLastModifiedTime(long modTime)
Sets the last-modified timestamp of the file. |
FileObject |
FileSystemManager.toFileObject(java.io.File file)
Converts a local file into a FileObject . |
Uses of FileSystemException in org.apache.commons.vfs.cache |
---|
Methods in org.apache.commons.vfs.cache that throw FileSystemException | |
---|---|
void |
OnCallRefreshFileObject.close()
|
void |
OnCallRefreshFileObject.copyFrom(FileObject srcFile,
FileSelector selector)
|
void |
OnCallRefreshFileObject.createFile()
|
void |
OnCallRefreshFileObject.createFolder()
|
boolean |
OnCallRefreshFileObject.delete()
|
int |
OnCallRefreshFileObject.delete(FileSelector selector)
|
boolean |
OnCallRefreshFileObject.exists()
|
FileObject[] |
OnCallRefreshFileObject.findFiles(FileSelector selector)
|
void |
OnCallRefreshFileObject.findFiles(FileSelector selector,
boolean depthwise,
java.util.List selected)
|
FileObject |
OnCallRefreshFileObject.getChild(java.lang.String name)
|
FileObject[] |
OnCallRefreshFileObject.getChildren()
|
FileContent |
OnCallRefreshFileObject.getContent()
|
FileType |
OnCallRefreshFileObject.getType()
|
boolean |
OnCallRefreshFileObject.isHidden()
|
boolean |
OnCallRefreshFileObject.isReadable()
|
boolean |
OnCallRefreshFileObject.isWriteable()
|
void |
OnCallRefreshFileObject.moveTo(FileObject destFile)
|
FileObject |
OnCallRefreshFileObject.resolveFile(java.lang.String path)
|
FileObject |
OnCallRefreshFileObject.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 | |
---|---|
private void |
VFSClassLoader.addFileObjects(FileSystemManager manager,
FileObject[] files)
Appends the specified FileObjects to the list of FileObjects to search for classes and resources. |
void |
VirtualFileSystem.addJunction(java.lang.String junctionPoint,
FileObject targetFile)
Adds a junction to this file system. |
private void |
StandardFileSystemManager.addOperationProvider(org.w3c.dom.Element providerDef)
Adds a operationProvider from a operationProvider definition. |
void |
DefaultFileSystemManager.addOperationProvider(java.lang.String[] schemes,
FileOperationProvider operationProvider)
|
void |
DefaultFileSystemManager.addOperationProvider(java.lang.String scheme,
FileOperationProvider operationProvider)
Adds the specified FileOperationProvider for the specified scheme. |
private void |
StandardFileSystemManager.addProvider(org.w3c.dom.Element providerDef,
boolean isDefault)
Adds a provider from a provider definition. |
void |
DefaultFileSystemManager.addProvider(java.lang.String[] urlSchemes,
FileProvider provider)
Registers a file system provider. |
void |
DefaultFileSystemManager.addProvider(java.lang.String urlScheme,
FileProvider provider)
Registers a file system provider. |
java.io.File |
DefaultFileReplicator.allocateFile(java.lang.String baseName)
Allocates a new temporary file. |
boolean |
DefaultFileSystemManager.canCreateFileSystem(FileObject file)
Determines if a layered file system can be created for a given file. |
void |
DecoratedFileObject.close()
|
void |
SynchronizedFileObject.close()
|
private void |
StandardFileSystemManager.configure(org.w3c.dom.Element config)
Configures this manager from an parsed XML configuration file |
private void |
StandardFileSystemManager.configure(java.lang.String configUri,
java.io.InputStream configStream)
Configures this manager from an XML configuration file. |
private void |
StandardFileSystemManager.configure(java.net.URL configUri)
Configures this manager from an XML configuration file. |
protected void |
StandardFileSystemManager.configurePlugins()
Scans the classpath to find any droped plugin. The plugin-description has to be in /META-INF/vfs-providers.xml |
void |
DecoratedFileObject.copyFrom(FileObject srcFile,
FileSelector selector)
|
void |
SynchronizedFileObject.copyFrom(FileObject srcFile,
FileSelector selector)
|
protected java.io.File |
DefaultFileReplicator.createAndAddFile(java.io.File parent,
java.lang.String basename)
|
void |
DecoratedFileObject.createFile()
|
void |
SynchronizedFileObject.createFile()
|
protected java.io.File |
DefaultFileReplicator.createFile(java.io.File parent,
java.lang.String name)
create the temporary file |
FileObject |
VirtualFileProvider.createFileSystem(FileObject rootFile)
Creates a virtual file system, with the supplied file as its root. |
FileObject |
DefaultFileSystemManager.createFileSystem(FileObject file)
Creates a layered file system. |
FileObject |
VirtualFileProvider.createFileSystem(java.lang.String rootUri)
Creates an empty virtual file system. |
FileObject |
DefaultFileSystemManager.createFileSystem(java.lang.String scheme,
FileObject file)
Creates a layered file system. |
void |
DecoratedFileObject.createFolder()
|
void |
SynchronizedFileObject.createFolder()
|
private java.lang.Object |
StandardFileSystemManager.createInstance(java.lang.String className)
Creates a provider. |
FileObject |
DefaultFileSystemManager.createVirtualFileSystem(FileObject rootFile)
Creates a virtual file system. |
FileObject |
DefaultFileSystemManager.createVirtualFileSystem(java.lang.String rootUri)
Creates an empty virtual file system. |
private java.lang.Package |
VFSClassLoader.definePackage(java.lang.String name,
Resource res)
Reads attributes for the package and defines it. |
boolean |
DecoratedFileObject.delete()
|
boolean |
SynchronizedFileObject.delete()
|
int |
DecoratedFileObject.delete(FileSelector selector)
|
int |
SynchronizedFileObject.delete(FileSelector selector)
|
boolean |
DecoratedFileObject.exists()
|
boolean |
SynchronizedFileObject.exists()
|
FileObject[] |
DecoratedFileObject.findFiles(FileSelector selector)
|
FileObject[] |
SynchronizedFileObject.findFiles(FileSelector selector)
|
void |
DecoratedFileObject.findFiles(FileSelector selector,
boolean depthwise,
java.util.List selected)
|
void |
SynchronizedFileObject.findFiles(FileSelector selector,
boolean depthwise,
java.util.List selected)
|
FileObject |
DefaultFileSystemManager.getBaseFile()
Returns the base file used to resolve relative URI. |
FileObject |
DecoratedFileObject.getChild(java.lang.String name)
|
FileObject |
SynchronizedFileObject.getChild(java.lang.String name)
|
FileObject[] |
DecoratedFileObject.getChildren()
|
FileObject[] |
SynchronizedFileObject.getChildren()
|
java.net.URL |
Resource.getCodeSourceURL()
Returns the code source as an URL. |
FileContent |
DecoratedFileObject.getContent()
|
FileContent |
SynchronizedFileObject.getContent()
|
FileOperations |
DecoratedFileObject.getFileOperations()
|
FileSystemConfigBuilder |
DefaultFileSystemManager.getFileSystemConfigBuilder(java.lang.String scheme)
Get the configuration builder for the given scheme |
private LocalFileProvider |
DefaultFileSystemManager.getLocalFileProvider()
Locates the local file provider. |
FileOperationProvider[] |
DefaultFileSystemManager.getOperationProviders(java.lang.String scheme)
|
java.lang.String |
Resource.getPackageAttribute(java.util.jar.Attributes.Name attrName)
Returns an attribute of the package containing the resource. |
FileObject |
DecoratedFileObject.getParent()
|
java.util.Collection |
DefaultFileSystemManager.getProviderCapabilities(java.lang.String scheme)
Get the capabilities for a given scheme. |
FileReplicator |
DefaultVfsComponentContext.getReplicator()
Locates a file replicator for the provider to use. |
FileReplicator |
DefaultFileSystemManager.getReplicator()
Returns the file replicator. |
java.lang.String |
FileTypeMap.getScheme(FileObject file)
Finds the provider to use to create a filesystem from a given file. |
TemporaryFileStore |
DefaultVfsComponentContext.getTemporaryFileStore()
Locates a temporary file store for the provider to use. |
TemporaryFileStore |
DefaultFileSystemManager.getTemporaryFileStore()
Returns the temporary file store. |
FileType |
DecoratedFileObject.getType()
|
FileType |
SynchronizedFileObject.getType()
|
java.net.URL |
Resource.getURL()
Returns the URL of the resource. |
java.net.URL |
DecoratedFileObject.getURL()
|
void |
PrivilegedFileReplicator.init()
Initialises the component. |
void |
DefaultFileReplicator.init()
Initialises this component. |
void |
StandardFileSystemManager.init()
Initializes this manager. |
void |
DefaultFileSystemManager.init()
Initialises this manager. |
boolean |
DecoratedFileObject.isHidden()
|
boolean |
SynchronizedFileObject.isHidden()
|
boolean |
DecoratedFileObject.isReadable()
|
boolean |
SynchronizedFileObject.isReadable()
|
private boolean |
VFSClassLoader.isSealed(Resource res)
Returns true if the we should seal the package where res resides. |
boolean |
DecoratedFileObject.isWriteable()
|
boolean |
SynchronizedFileObject.isWriteable()
|
private Resource |
VFSClassLoader.loadResource(java.lang.String name)
Searches through the search path of for the first class or resource with specified name. |
void |
DecoratedFileObject.moveTo(FileObject destFile)
|
void |
SynchronizedFileObject.moveTo(FileObject destFile)
|
FileName |
DefaultVfsComponentContext.parseURI(java.lang.String uri)
|
void |
DecoratedFileObject.refresh()
|
void |
VirtualFileSystem.removeJunction(java.lang.String junctionPoint)
Removes a junction from this file system. |
java.io.File |
PrivilegedFileReplicator.replicateFile(FileObject srcFile,
FileSelector selector)
Creates a local copy of the file, and all its descendents. |
java.io.File |
DefaultFileReplicator.replicateFile(FileObject srcFile,
FileSelector selector)
Creates a local copy of the file, and all its descendents. |
FileObject |
DefaultFileSystemManager.resolveFile(FileObject baseFile,
java.lang.String uri)
Resolves a URI, relative to a base file. |
FileObject |
DefaultVfsComponentContext.resolveFile(FileObject baseFile,
java.lang.String name,
FileSystemOptions fileSystemOptions)
Locate a file by name. |
FileObject |
DefaultFileSystemManager.resolveFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions)
Resolves a URI, realtive to a base file with specified FileSystem configuration |
FileObject |
DefaultFileSystemManager.resolveFile(java.io.File baseFile,
java.lang.String uri)
Locates a file by URI. |
FileObject |
DecoratedFileObject.resolveFile(java.lang.String path)
|
FileObject |
SynchronizedFileObject.resolveFile(java.lang.String path)
|
FileObject |
DefaultFileSystemManager.resolveFile(java.lang.String uri)
Locates a file by URI. |
FileObject |
DefaultVfsComponentContext.resolveFile(java.lang.String name,
FileSystemOptions fileSystemOptions)
Locate a file by name. |
FileObject |
DefaultFileSystemManager.resolveFile(java.lang.String uri,
FileSystemOptions fileSystemOptions)
Locate a file by URI, use the FileSystemOptions for file-system creation |
FileObject |
DecoratedFileObject.resolveFile(java.lang.String name,
NameScope scope)
|
FileObject |
SynchronizedFileObject.resolveFile(java.lang.String name,
NameScope scope)
|
FileName |
DefaultFileSystemManager.resolveName(FileName root,
java.lang.String path)
Resolves a name, relative to the file. |
FileName |
DefaultFileSystemManager.resolveName(FileName base,
java.lang.String name,
NameScope scope)
Resolves a name, relative to the root. |
FileName |
DefaultFileSystemManager.resolveURI(java.lang.String uri)
resolve the uri to a filename |
void |
DefaultFileSystemManager.setBaseFile(java.io.File baseFile)
Sets the base file to use when resolving relative URI. |
void |
DefaultFileSystemManager.setBaseFile(FileObject baseFile)
Sets the base file to use when resolving relative URI. |
void |
DefaultFileSystemManager.setCacheStrategy(CacheStrategy fileCacheStrategy)
Set the cache strategy to use when dealing with file object data. |
void |
DefaultFileSystemManager.setDefaultProvider(FileProvider provider)
Sets the default provider. |
void |
DefaultFileSystemManager.setFileContentInfoFactory(FileContentInfoFactory fileContentInfoFactory)
set the fileContentInfoFactory used to determine the infos of a file content. |
void |
DefaultFileSystemManager.setFileObjectDecorator(java.lang.Class fileObjectDecorator)
set a fileObject decorator to be used for ALL returned file objects |
void |
DefaultFileSystemManager.setFilesCache(FilesCache filesCache)
Sets the filesCache implementation used to cache files |
void |
DefaultFileSystemManager.setReplicator(FileReplicator replicator)
Sets the file replicator to use. |
void |
DefaultFileSystemManager.setTemporaryFileStore(TemporaryFileStore tempFileStore)
Sets the temporary file store to use. |
private void |
DefaultFileSystemManager.setupComponent(java.lang.Object component)
Initialises a component, if it has not already been initialised. |
void |
DefaultFileSystemConfigBuilder.setUserAuthenticator(FileSystemOptions opts,
UserAuthenticator userAuthenticator)
Sets the user authenticator to get authentication informations |
FileObject |
DefaultVfsComponentContext.toFileObject(java.io.File file)
Returns a FileObject for a local file. |
FileObject |
DefaultFileSystemManager.toFileObject(java.io.File file)
Converts a local file into a FileObject . |
Constructors in org.apache.commons.vfs.impl that throw FileSystemException | |
---|---|
Resource(java.lang.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,
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 | |
---|---|
protected void |
AbstractFileOperationProvider.addOperation(java.lang.Class operationClass)
|
void |
FileOperationProvider.collectOperations(java.util.Collection operationsList,
FileObject file)
Gather available operations for the specified FileObject and put them into specified operationsList. |
void |
AbstractFileOperationProvider.collectOperations(java.util.Collection operationsList,
FileObject file)
Gather available operations for the specified FileObject and put them into specified operationsList. |
protected abstract void |
AbstractFileOperationProvider.doCollectOperations(java.util.Collection availableOperations,
java.util.Collection resultList,
FileObject file)
|
FileOperation |
FileOperations.getOperation(java.lang.Class operationClass)
|
FileOperation |
DefaultFileOperations.getOperation(java.lang.Class operationClass)
|
FileOperation |
FileOperationProvider.getOperation(FileObject file,
java.lang.Class operationClass)
|
FileOperation |
AbstractFileOperationProvider.getOperation(FileObject file,
java.lang.Class operationClass)
|
java.lang.Class[] |
FileOperations.getOperations()
|
java.lang.Class[] |
DefaultFileOperations.getOperations()
|
boolean |
FileOperations.hasOperation(java.lang.Class operationClass)
|
boolean |
DefaultFileOperations.hasOperation(java.lang.Class operationClass)
|
protected abstract FileOperation |
AbstractFileOperationProvider.instantiateOperation(FileObject file,
java.lang.Class operationClass)
|
protected java.lang.Class |
AbstractFileOperationProvider.lookupOperation(java.lang.Class operationClass)
|
void |
FileOperation.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 | |
---|---|
void |
VcsLogEntryHandler.handleLogEntry(VcsLogEntry entry)
|
Uses of FileSystemException in org.apache.commons.vfs.provider |
---|
Methods in org.apache.commons.vfs.provider that throw FileSystemException | |
---|---|
protected void |
AbstractVfsContainer.addComponent(java.lang.Object component)
Adds a sub-component to this component. |
protected void |
AbstractFileProvider.addFileSystem(java.lang.Comparable key,
FileSystem fs)
Adds a file system to those cached by this provider. |
void |
AbstractFileSystem.addJunction(java.lang.String junctionPoint,
FileObject targetFile)
Adds a junction to this file system. |
java.io.File |
TemporaryFileStore.allocateFile(java.lang.String basename)
Allocates a new temporary file. |
private void |
AbstractFileObject.attach()
Attaches to the file. |
static void |
UriParser.canonicalizePath(java.lang.StringBuffer buffer,
int offset,
int length,
FileNameParser fileNameParser)
|
static void |
UriParser.checkUriEncoding(java.lang.String uri)
|
void |
DefaultFileContent.close()
Closes all resources used by the content, including all streams, readers and writers. |
void |
DefaultFileContent.FileContentInputStream.close()
Closes this input stream. |
void |
DefaultFileContent.FileContentOutputStream.close()
Closes this output stream. |
void |
AbstractFileObject.close()
Closes this file, and its content. |
void |
DelegateFileObject.close()
Close the delegated file |
void |
FileContentThreadData.closeOutstr()
|
void |
AbstractFileObject.copyFrom(FileObject file,
FileSelector selector)
Copies another file to this file. |
void |
AbstractFileObject.createFile()
Creates this file, if it does not exist. |
FileObject |
AbstractLayeredFileProvider.createFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system. |
FileObject |
FileProvider.createFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system. |
FileObject |
AbstractFileProvider.createFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions properties)
Creates a layered file system. |
void |
AbstractFileObject.createFolder()
Creates this folder, if it does not exist. |
static java.lang.String |
UriParser.decode(java.lang.String encodedStr)
Removes %nn encodings from a string. |
static void |
UriParser.decode(java.lang.StringBuffer buffer,
int offset,
int length)
Removes %nn encodings from a string. |
protected FileObject |
AbstractFileSystem.decorateFileObject(FileObject file)
|
boolean |
AbstractFileObject.delete()
Deletes this file. |
int |
AbstractFileObject.delete(FileSelector selector)
Deletes this file, and all children. |
private boolean |
AbstractFileObject.deleteSelf()
Deletes this file, once all its children have been deleted |
protected abstract FileSystem |
AbstractOriginatingFileProvider.doCreateFileSystem(FileName rootName,
FileSystemOptions fileSystemOptions)
Creates a FileSystem . |
protected abstract FileSystem |
AbstractLayeredFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system. |
protected FileType |
DelegateFileObject.doGetType()
Determines the type of the file, returns null if the file does not exist. |
protected boolean |
DelegateFileObject.doIsHidden()
Determines if this file is hidden. |
protected boolean |
DelegateFileObject.doIsReadable()
Determines if this file can be read. |
protected boolean |
AbstractFileObject.doIsSameFile(FileObject destFile)
Checks if this fileObject is the same file as destFile just with a different
name.E.g. |
protected boolean |
DelegateFileObject.doIsWriteable()
Determines if this file can be written to. |
boolean |
AbstractFileObject.exists()
Determines if the file exists. |
protected int |
HostFileNameParser.extractPort(java.lang.StringBuffer name,
java.lang.String uri)
Extracts the port from a URI. |
protected java.lang.String |
LayeredFileNameParser.extractRootName(java.lang.StringBuffer uri)
Pops the root prefix off a URI, which has had the scheme removed. |
protected HostFileNameParser.Authority |
HostFileNameParser.extractToPath(java.lang.String uri,
java.lang.StringBuffer name)
Extracts the scheme, userinfo, hostname and port components of a generic URI. |
protected FileObject |
AbstractOriginatingFileProvider.findFile(FileName name,
FileSystemOptions fileSystemOptions)
Locates a file from its parsed URI. |
FileObject |
CompositeFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI. |
FileObject |
AbstractOriginatingFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI. |
FileObject |
AbstractLayeredFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions properties)
Locates a file object, by absolute URI. |
FileObject |
FileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI. |
FileObject[] |
AbstractFileObject.findFiles(FileSelector selector)
Finds the set of matching descendents of this file, in depthwise order. |
void |
AbstractFileObject.findFiles(FileSelector selector,
boolean depthwise,
java.util.List selected)
Traverses the descendents of this file, and builds a list of selected files. |
FileObject |
LocalFileProvider.findLocalFile(java.io.File file)
Converts from java.io.File to FileObject. |
FileObject |
LocalFileProvider.findLocalFile(java.lang.String name)
Finds a local file, from its local name. |
java.lang.Object |
DefaultFileContent.getAttribute(java.lang.String attrName)
Gets the value of an attribute. |
java.lang.Object |
AbstractFileSystem.getAttribute(java.lang.String attrName)
Retrieves the attribute with the specified name. |
java.lang.String[] |
DefaultFileContent.getAttributeNames()
Lists the attributes of this file. |
java.util.Map |
DefaultFileContent.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. |
FileObject |
AbstractFileObject.getChild(java.lang.String name)
Returns a child of this file. |
FileObject[] |
AbstractFileObject.getChildren()
Returns the children of the file. |
FileContent |
AbstractFileObject.getContent()
Returns the file's content. |
FileContentInfo |
DefaultFileContent.getContentInfo()
get the content info. |
FileOperations |
AbstractFileObject.getFileOperations()
|
java.io.InputStream |
DefaultFileContent.getInputStream()
Returns an input stream for reading the content. |
java.io.InputStream |
AbstractFileObject.getInputStream()
Returns an input stream to use to read the content of the file. |
long |
DefaultFileContent.getLastModifiedTime()
Returns the last-modified timestamp. |
java.io.OutputStream |
DefaultFileContent.getOutputStream()
Returns an output stream for writing the content. |
java.io.OutputStream |
AbstractFileObject.getOutputStream()
Prepares this file for writing. |
java.io.OutputStream |
DefaultFileContent.getOutputStream(boolean bAppend)
Returns an output stream for writing the content in append mode. |
java.io.OutputStream |
AbstractFileObject.getOutputStream(boolean bAppend)
Prepares this file for writing. |
FileObject |
AbstractFileObject.getParent()
Returns the parent of the file. |
FileObject |
AbstractFileSystem.getParentLayer()
Returns the parent layer if this is a layered file system. |
java.lang.String |
AbstractFileName.getPathDecoded()
|
java.lang.String |
URLFileName.getPathQueryEncoded(java.lang.String charset)
get the path encoded suitable for url like filesystem e.g. |
RandomAccessContent |
DefaultFileContent.getRandomAccessContent(RandomAccessMode mode)
Returns an input/output stream to use to read and write the content of the file in an random manner. |
RandomAccessContent |
AbstractFileObject.getRandomAccessContent(RandomAccessMode mode)
Returns an input/output stream to use to read and write the content of the file in and random manner. |
java.lang.String |
AbstractFileName.getRelativeName(FileName name)
Converts a file name to a relative name, relative to this file name. |
FileReplicator |
VfsComponentContext.getReplicator()
Locates a file replicator for the provider to use. |
FileObject |
AbstractFileSystem.getRoot()
Returns the root file of this file system. |
long |
DefaultFileContent.getSize()
Returns the size of the content (in bytes). |
TemporaryFileStore |
VfsComponentContext.getTemporaryFileStore()
Locates a temporary file store for the provider to use. |
FileType |
AbstractFileObject.getType()
Returns the file's type. |
java.lang.String |
URLFileName.getURIEncoded(java.lang.String charset)
|
java.net.URL |
AbstractFileObject.getURL()
Returns a URL representation of the file. |
void |
VfsComponent.init()
Initialises the component. |
void |
AbstractVfsComponent.init()
Initialises the component. |
void |
AbstractFileSystem.init()
Initialises this component. |
boolean |
AbstractFileObject.isHidden()
Determines if this file can be read. |
boolean |
AbstractFileObject.isReadable()
Determines if this file can be read. |
protected boolean |
AbstractFileObject.isSameFile(FileObject destFile)
Checks if this fileObject is the same file as destFile just with a different
name.E.g. |
boolean |
AbstractFileObject.isWriteable()
Determines if this file can be written to. |
void |
AbstractFileObject.moveTo(FileObject destFile)
Moves (rename) the file to another one |
static FileType |
UriParser.normalisePath(java.lang.StringBuffer path)
Normalises a path. |
FileName |
FileProvider.parseUri(FileName root,
java.lang.String uri)
|
FileName |
AbstractFileProvider.parseUri(FileName base,
java.lang.String uri)
Parses an absolute URI. |
FileName |
VfsComponentContext.parseURI(java.lang.String uri)
|
FileName |
LayeredFileNameParser.parseUri(VfsComponentContext context,
FileName base,
java.lang.String filename)
|
FileName |
HostFileNameParser.parseUri(VfsComponentContext context,
FileName base,
java.lang.String filename)
|
FileName |
URLFileNameParser.parseUri(VfsComponentContext context,
FileName base,
java.lang.String filename)
|
FileName |
FileNameParser.parseUri(VfsComponentContext context,
FileName base,
java.lang.String filename)
parses a String into a filename |
void |
AbstractFileObject.refresh()
This will prepare the fileObject to get resynchronized with the underlaying filesystem if required |
void |
AbstractFileSystem.removeJunction(java.lang.String junctionPoint)
Removes a junction from this file system. |
java.io.File |
FileReplicator.replicateFile(FileObject srcFile,
FileSelector selector)
Creates a local copy of the file, and all its descendents. |
java.io.File |
AbstractFileSystem.replicateFile(FileObject file,
FileSelector selector)
Creates a temporary local copy of a file and its descendents. |
private FileObject |
AbstractFileObject.resolveFile(FileName child)
|
FileObject |
AbstractFileSystem.resolveFile(FileName name)
Finds a file in this file system. |
private FileObject |
AbstractFileSystem.resolveFile(FileName name,
boolean useCache)
|
FileObject |
VfsComponentContext.resolveFile(FileObject baseFile,
java.lang.String name,
FileSystemOptions fileSystemOptions)
Locate a file by name. |
FileObject |
AbstractFileObject.resolveFile(java.lang.String path)
Finds a file, relative to this file. |
FileObject |
AbstractFileSystem.resolveFile(java.lang.String nameStr)
Finds a file in this file system. |
FileObject |
VfsComponentContext.resolveFile(java.lang.String name,
FileSystemOptions fileSystemOptions)
Locate a file by name. |
FileObject |
AbstractFileObject.resolveFile(java.lang.String name,
NameScope scope)
Returns a child by name. |
private FileObject[] |
AbstractFileObject.resolveFiles(FileName[] children)
|
void |
DefaultFileContent.setAttribute(java.lang.String attrName,
java.lang.Object value)
Sets the value of an attribute. |
void |
AbstractFileSystem.setAttribute(java.lang.String attrName,
java.lang.Object value)
Sets the attribute with the specified name. |
void |
DefaultFileContent.setLastModifiedTime(long modTime)
Sets the last-modified timestamp. |
(package private) void |
AbstractFileName.setType(FileType type)
sets the type of this file e.g. |
FileObject |
VfsComponentContext.toFileObject(java.io.File file)
Returns a FileObject for a local file. |
Constructors in org.apache.commons.vfs.provider that throw FileSystemException | |
---|---|
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 | |
---|---|
protected FileObject |
Bzip2FileSystem.createFile(FileName name)
|
protected FileSystem |
Bzip2FileProvider.createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions)
|
Constructors in org.apache.commons.vfs.provider.bzip2 that throw FileSystemException | |
---|---|
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 | |
---|---|
void |
CompressedFileFileObject.createFile()
|
protected abstract FileObject |
CompressedFileFileSystem.createFile(FileName name)
Creates a file object. |
protected abstract FileSystem |
CompressedFileFileProvider.createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions)
|
protected FileSystem |
CompressedFileFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system. |
protected FileType |
CompressedFileFileObject.doGetType()
Returns the file's type. |
void |
CompressedFileFileSystem.init()
|
boolean |
CompressedFileFileObject.isWriteable()
Determines if this file can be written to. |
Constructors in org.apache.commons.vfs.provider.compressed that throw FileSystemException | |
---|---|
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 | |
---|---|
private org.apache.commons.net.ftp.FTPClient |
FTPClientWrapper.createClient()
|
static org.apache.commons.net.ftp.FTPClient |
FtpClientFactory.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 FileObject |
FtpFileSystem.createFile(FileName name)
Creates a file object. |
protected FileSystem |
FtpFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates the filesystem. |
FtpClient |
FtpFileSystem.getClient()
Creates an FTP client to use. |
private org.apache.commons.net.ftp.FTPClient |
FTPClientWrapper.getFtpClient()
|
private FileObject |
FtpFileObject.getLinkDestination()
|
boolean |
FTPClientWrapper.isConnected()
|
boolean |
FtpClient.isConnected()
|
void |
FtpFileObject.refresh()
|
Constructors in org.apache.commons.vfs.provider.ftp that throw FileSystemException | |
---|---|
FTPClientWrapper(GenericFileName root,
FileSystemOptions fileSystemOptions)
|
|
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 | |
---|---|
protected FileObject |
GzipFileSystem.createFile(FileName name)
|
protected FileSystem |
GzipFileProvider.createFileSystem(FileName name,
FileObject file,
FileSystemOptions fileSystemOptions)
|
Constructors in org.apache.commons.vfs.provider.gzip that throw FileSystemException | |
---|---|
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 | |
---|---|
FileContentInfo |
HttpFileContentInfoFactory.create(FileContent fileContent)
|
static org.apache.commons.httpclient.HttpClient |
HttpClientFactory.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 FileSystem |
HttpFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a FileSystem . |
(package private) void |
HttpFileObject.setupMethod(org.apache.commons.httpclient.HttpMethod method)
Prepares a Method object. |
Uses of FileSystemException in org.apache.commons.vfs.provider.jar |
---|
Methods in org.apache.commons.vfs.provider.jar that throw FileSystemException | |
---|---|
protected java.util.zip.ZipFile |
JarFileSystem.createZipFile(java.io.File file)
|
protected ZipFileObject |
JarFileSystem.createZipFileObject(FileName name,
java.util.zip.ZipEntry entry)
|
protected FileSystem |
JarFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system. |
(package private) java.lang.Object |
JarFileSystem.getAttribute(java.util.jar.Attributes.Name attrName)
|
java.lang.Object |
JarFileSystem.getAttribute(java.lang.String attrName)
Retrives the attribute with the specified name. |
protected java.util.zip.ZipFile |
JarFileSystem.getZipFile()
|
Constructors in org.apache.commons.vfs.provider.jar that throw FileSystemException | |
---|---|
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 | |
---|---|
protected FileObject |
LocalFileSystem.createFile(FileName name)
Creates a file object. |
protected FileSystem |
DefaultLocalFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates the filesystem. |
protected long |
LocalFile.doGetLastModifiedTime()
Gets the last modified time of this file. |
protected boolean |
LocalFile.doIsReadable()
Determines if this file can be read. |
protected boolean |
LocalFile.doIsSameFile(FileObject destFile)
|
protected boolean |
LocalFile.doIsWriteable()
Determines if this file can be written to. |
protected void |
LocalFile.doSetLastModifiedTime(long modtime)
Sets the last modified time of this file. |
protected java.lang.String |
GenericFileNameParser.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.String |
LocalFileNameParser.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.String |
WindowsFileNameParser.extractRootPrefix(java.lang.String uri,
java.lang.StringBuffer name)
Pops the root prefix off a URI, which has had the scheme removed. |
private java.lang.String |
WindowsFileNameParser.extractUNCPrefix(java.lang.String uri,
java.lang.StringBuffer name)
Extracts a UNC name from a path. |
private java.lang.String |
WindowsFileNameParser.extractWindowsRootPrefix(java.lang.String uri,
java.lang.StringBuffer name)
Extracts a Windows root prefix from a name. |
FileObject |
DefaultLocalFileProvider.findLocalFile(java.io.File file)
Finds a local file. |
FileObject |
DefaultLocalFileProvider.findLocalFile(java.lang.String name)
Finds a local file, from its local name. |
FileName |
LocalFileNameParser.parseUri(VfsComponentContext context,
FileName base,
java.lang.String filename)
|
Constructors in org.apache.commons.vfs.provider.local that throw FileSystemException | |
---|---|
LocalFile(LocalFileSystem fileSystem,
java.lang.String rootFile,
FileName name)
Creates a non-root file. |
|
LocalFileRandomAccessContent(java.io.File localFile,
RandomAccessMode mode)
|
Uses of FileSystemException in org.apache.commons.vfs.provider.ram |
---|
Methods in org.apache.commons.vfs.provider.ram that throw FileSystemException | |
---|---|
(package private) void |
RamFileData.addChild(RamFileData data)
Add a child |
(package private) void |
RamFileSystem.delete(RamFileObject file)
Delete a file |
protected FileSystem |
RamFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
|
void |
RamFileSystem.importTree(java.io.File file)
Import a Tree |
(package private) void |
RamFileData.removeChild(RamFileData data)
Remove a child |
(package private) void |
RamFileSystem.rename(RamFileObject from,
RamFileObject to)
|
private void |
RamFileObject.save()
|
(package private) void |
RamFileSystem.save(RamFileObject file)
Saves a file |
(package private) void |
RamFileSystem.toRamFileObject(FileObject fo,
FileObject root)
Import the given file with the name relative to the given root |
Uses of FileSystemException in org.apache.commons.vfs.provider.res |
---|
Methods in org.apache.commons.vfs.provider.res that throw FileSystemException | |
---|---|
FileObject |
ResourceFileProvider.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 | |
---|---|
static com.jcraft.jsch.Session |
SftpClientFactory.createConnection(java.lang.String hostname,
int port,
char[] username,
char[] password,
FileSystemOptions fileSystemOptions)
Creates a new connection to the server. |
protected FileObject |
SftpFileSystem.createFile(FileName name)
Creates a file object. |
protected FileSystem |
SftpFileProvider.doCreateFileSystem(FileName name,
FileSystemOptions fileSystemOptions)
Creates a FileSystem . |
void |
SftpFileProvider.init()
Initialises the component. |
void |
SftpFileSystemConfigBuilder.setCompression(FileSystemOptions opts,
java.lang.String compression)
configure the compression to use. e.g. |
void |
SftpFileSystemConfigBuilder.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 ;-) |
void |
SftpFileSystemConfigBuilder.setKnownHosts(FileSystemOptions opts,
java.io.File sshdir)
Set the known_hosts file. |
void |
SftpFileSystemConfigBuilder.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 | |
---|---|
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 | |
---|---|
protected FileObject |
TarFileSystem.createFile(FileName name)
Creates a file object. |
protected TarInputStream |
TarFileSystem.createTarFile(java.io.File file)
|
protected TarFileObject |
TarFileSystem.createTarFileObject(FileName name,
TarEntry entry)
|
protected FileSystem |
TarFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system. |
java.io.InputStream |
TarFileSystem.getInputStream(TarEntry entry)
|
protected TarInputStream |
TarFileSystem.getTarFile()
|
void |
TarFileSystem.init()
|
boolean |
TarFileObject.isWriteable()
Determines if this file can be written to. |
private void |
TarFileSystem.recreateTarFile()
|
protected void |
TarFileSystem.resetTarFile()
|
Constructors in org.apache.commons.vfs.provider.tar that throw FileSystemException | |
---|---|
TarFileObject(FileName name,
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 | |
---|---|
FileObject |
TemporaryFileProvider.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 | |
---|---|
protected java.net.URL |
UrlFileObject.createURL(FileName name)
|
FileObject |
UrlFileProvider.findFile(FileObject baseFile,
java.lang.String uri,
FileSystemOptions fileSystemOptions)
Locates a file object, by absolute URI. |
FileName |
UrlFileNameParser.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 | |
---|---|
protected FileObject |
ZipFileSystem.createFile(FileName name)
Creates a file object. |
protected java.util.zip.ZipFile |
ZipFileSystem.createZipFile(java.io.File file)
|
protected ZipFileObject |
ZipFileSystem.createZipFileObject(FileName name,
java.util.zip.ZipEntry entry)
|
protected FileSystem |
ZipFileProvider.doCreateFileSystem(java.lang.String scheme,
FileObject file,
FileSystemOptions fileSystemOptions)
Creates a layered file system. |
protected java.util.zip.ZipFile |
ZipFileSystem.getZipFile()
|
void |
ZipFileSystem.init()
|
boolean |
ZipFileObject.isWriteable()
Determines if this file can be written to. |
Constructors in org.apache.commons.vfs.provider.zip that throw FileSystemException | |
---|---|
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 | |
---|---|
protected void |
MoveTask.handleOutOfDateFile(FileObject srcFile,
FileObject destFile)
Handles a single source file. |
protected void |
CopyTask.handleOutOfDateFile(FileObject srcFile,
FileObject destFile)
Handles an out-of-date file. |
protected void |
CopyTask.handleUpToDateFile(FileObject srcFile,
FileObject destFile)
Handles an up-to-date file. |
protected FileObject |
VfsTask.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 | |
---|---|
private boolean |
DelegatingFileSystemOptionsBuilder.convertValuesAndInvoke(java.lang.reflect.Method configSetter,
DelegatingFileSystemOptionsBuilder.Context ctx)
tries to convert the value and pass it to the given method |
private java.util.Map |
DelegatingFileSystemOptionsBuilder.createSchemeMethods(java.lang.String scheme)
create the list of all set*() methods for the given scheme |
private boolean |
DelegatingFileSystemOptionsBuilder.fillConfigSetters(DelegatingFileSystemOptionsBuilder.Context ctx)
fills all available set*() methods for the context-scheme into the context. |
static AbstractFileObject |
FileObjectUtils.getAbstractFileObject(FileObject fileObject)
get access to the base object even if decorated |
private java.util.Map |
DelegatingFileSystemOptionsBuilder.getSchemeMethods(java.lang.String scheme)
get (cached) list of set*() methods for the given scheme |
private void |
DelegatingFileSystemOptionsBuilder.invokeSetter(java.lang.Class valueParameter,
DelegatingFileSystemOptionsBuilder.Context ctx,
java.lang.reflect.Method configSetter,
java.lang.Object values)
invokes the method with the converted values |
static boolean |
FileObjectUtils.isInstanceOf(FileObject fileObject,
java.lang.Class wantedClass)
check if the given FileObject is instance of given class argument |
void |
DelegatingFileSystemOptionsBuilder.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. |
void |
DelegatingFileSystemOptionsBuilder.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. |
void |
DelegatingFileSystemOptionsBuilder.setConfigString(FileSystemOptions fso,
java.lang.String scheme,
java.lang.String name,
java.lang.String value)
Set a single string value. |
void |
DelegatingFileSystemOptionsBuilder.setConfigStrings(FileSystemOptions fso,
java.lang.String scheme,
java.lang.String name,
java.lang.String[] values)
Set an array of string value. |
private void |
DelegatingFileSystemOptionsBuilder.setValues(DelegatingFileSystemOptionsBuilder.Context ctx)
sets the values using the informations of the given context. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |