1 19 20 21 package org.netbeans.modules.masterfs.providers; 22 23 import java.io.IOException ; 24 import org.openide.filesystems.FileSystem; 25 26 37 final public class MountSupport { 38 51 public void mount(String mountPoint, FileSystem fs) throws IOException { 52 delegate.mount (mountPoint, fs); 53 } 54 55 61 public void unmount(FileSystem fs) throws IOException { 62 delegate.unmount (fs); 63 } 64 65 69 private MountSupport (org.netbeans.modules.masterfs.InternalMountSupport delegate) { 70 this.delegate = delegate; 71 } 72 73 74 private static final class APIAccessImpl extends org.netbeans.modules.masterfs.APIAccess { 75 public MountSupport createMountSupport(org.netbeans.modules.masterfs.InternalMountSupport sup) { 76 return new MountSupport (sup); 77 } 78 } 79 80 static { 81 org.netbeans.modules.masterfs.APIAccess.DEFAULT = new APIAccessImpl (); 82 } 83 84 private org.netbeans.modules.masterfs.InternalMountSupport delegate; 85 86 } 87 | Popular Tags |