1 16 package org.apache.commons.vfs.provider.url; 17 18 import org.apache.commons.vfs.FileName; 19 import org.apache.commons.vfs.FileObject; 20 import org.apache.commons.vfs.FileSystem; 21 import org.apache.commons.vfs.FileSystemOptions; 22 import org.apache.commons.vfs.provider.AbstractFileSystem; 23 24 import java.util.Collection ; 25 26 31 public class UrlFileSystem 32 extends AbstractFileSystem 33 implements FileSystem 34 { 35 protected UrlFileSystem(final FileName rootName, final FileSystemOptions fileSystemOptions) 36 { 37 super(rootName, null, fileSystemOptions); 38 } 39 40 43 protected FileObject createFile(final FileName name) 44 { 45 return new UrlFileObject(this, name); 46 } 47 48 51 protected void addCapabilities(final Collection caps) 52 { 53 caps.addAll(UrlFileProvider.capabilities); 54 } 55 } 56 | Popular Tags |