1 19 package org.netbeans.modules.xml.core.lib; 20 21 import org.openide.filesystems.*; 22 23 30 class StreamFileSystem extends FileSystem { 31 32 33 private static final long serialVersionUID =2822790916118072639L; 34 35 private FileObject root; 36 37 39 40 public StreamFileSystem(StreamFileObject root) { 41 this.root = root; 42 } 43 44 public org.openide.filesystems.FileObject getRoot() { 45 return root; 46 } 47 48 public org.openide.filesystems.FileObject findResource(java.lang.String str) { 49 return null; 50 } 51 52 public org.openide.util.actions.SystemAction[] getActions() { 53 return new org.openide.util.actions.SystemAction[0]; 54 } 55 56 public boolean isReadOnly() { 57 return true; 58 } 59 60 public java.lang.String getDisplayName() { 61 return Util.THIS.getString ("PROP_StreamFileSystem"); 62 } 63 64 } 65 | Popular Tags |