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.FileSystemException; 21 import org.apache.commons.vfs.FileSystemManager; 22 import org.apache.commons.vfs.FileSystemOptions; 23 24 import java.io.File ; 25 26 34 public interface VfsComponentContext 35 { 36 41 FileObject resolveFile(FileObject baseFile, String name, FileSystemOptions fileSystemOptions) 42 throws FileSystemException; 43 44 49 FileObject resolveFile(String name, FileSystemOptions fileSystemOptions) 50 throws FileSystemException; 51 52 FileName parseURI(String uri) throws FileSystemException; 53 54 57 FileReplicator getReplicator() throws FileSystemException; 58 59 62 TemporaryFileStore getTemporaryFileStore() throws FileSystemException; 63 64 67 FileObject toFileObject(File file) 68 throws FileSystemException; 69 70 75 FileSystemManager getFileSystemManager(); 76 } 77 | Popular Tags |