1 16 package org.apache.commons.vfs.provider.smb; 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.FileSystemException; 22 import org.apache.commons.vfs.FileSystemOptions; 23 import org.apache.commons.vfs.provider.AbstractFileSystem; 24 25 import java.util.Collection ; 26 27 32 public class SmbFileSystem 33 extends AbstractFileSystem 34 implements FileSystem 35 { 36 protected SmbFileSystem(final FileName rootName, final FileSystemOptions fileSystemOptions) 37 { 38 super(rootName, null, fileSystemOptions); 39 } 40 41 44 protected FileObject createFile(final FileName name) throws FileSystemException 45 { 46 return new SmbFileObject(name, this); 47 } 48 49 52 protected void addCapabilities(final Collection caps) 53 { 54 caps.addAll(SmbFileProvider.capabilities); 55 } 56 } 57 | Popular Tags |