1 16 package org.apache.commons.vfs.provider.bzip2; 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.FileSystemOptions; 22 import org.apache.commons.vfs.provider.compressed.CompressedFileFileSystem; 23 24 import java.util.Collection ; 25 26 31 public class Bzip2FileSystem extends CompressedFileFileSystem 32 { 33 protected Bzip2FileSystem(FileName rootName, FileObject parentLayer, FileSystemOptions fileSystemOptions) throws FileSystemException 34 { 35 super(rootName, parentLayer, fileSystemOptions); 36 } 37 38 protected FileObject createFile(FileName name) throws FileSystemException 39 { 40 return new Bzip2FileObject(name, getParentLayer(), this); 41 } 42 43 protected void addCapabilities(final Collection caps) 44 { 45 caps.addAll(Bzip2FileProvider.capabilities); 46 } 47 } 48 | Popular Tags |