1 16 package org.apache.commons.vfs.provider; 17 18 import org.apache.commons.vfs.FileName; 19 import org.apache.commons.vfs.FileObject; 20 import org.apache.commons.vfs.FileSystemConfigBuilder; 21 import org.apache.commons.vfs.FileSystemException; 22 import org.apache.commons.vfs.FileSystemOptions; 23 24 import java.util.Collection ; 25 26 27 35 public interface FileProvider 36 { 37 45 FileObject findFile(final FileObject baseFile, final String uri, final FileSystemOptions fileSystemOptions) 46 throws FileSystemException; 47 48 55 FileObject createFileSystem(String scheme, FileObject file, FileSystemOptions fileSystemOptions) 56 throws FileSystemException; 57 58 61 public FileSystemConfigBuilder getConfigBuilder(); 62 63 68 public Collection getCapabilities(); 69 70 public FileName parseUri(FileName root, String uri) throws FileSystemException; 71 } 72 | Popular Tags |