org.inria.ns.reflex.modules.io.fallback
Class FallbackFileProvider

java.lang.Object
  extended by org.apache.commons.vfs.provider.AbstractVfsComponent
      extended by org.apache.commons.vfs.provider.AbstractVfsContainer
          extended by org.apache.commons.vfs.provider.AbstractFileProvider
              extended by org.apache.commons.vfs.provider.url.UrlFileProvider
                  extended by org.inria.ns.reflex.modules.io.fallback.FallbackFileProvider
All Implemented Interfaces:
FileProvider, VfsComponent

public class FallbackFileProvider
extends UrlFileProvider

A fallback file provider.

Author:
Philippe Poulard

Constructor Summary
FallbackFileProvider()
           
 
Method Summary
 FileObject findFile(FileObject baseFile, String uri, FileSystemOptions fileSystemOptions)
           
 Collection getCapabilities()
           
 
Methods inherited from class org.apache.commons.vfs.provider.url.UrlFileProvider
getConfigBuilder
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileProvider
close, closeFileSystem, createFileSystem, freeUnusedResources, parseUri
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractVfsComponent
init, setContext, setLogger
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FallbackFileProvider

public FallbackFileProvider()
Method Detail

findFile

public FileObject findFile(FileObject baseFile,
                           String uri,
                           FileSystemOptions fileSystemOptions)
                    throws FileSystemException
Specified by:
findFile in interface FileProvider
Overrides:
findFile in class UrlFileProvider
Throws:
FileSystemException

getCapabilities

public Collection getCapabilities()
Specified by:
getCapabilities in interface FileProvider
Overrides:
getCapabilities in class UrlFileProvider