1 19 24 25 package org.netbeans.modules.xml.multiview.test; 26 27 import org.openide.filesystems.*; 28 import org.openide.loaders.*; 29 33 public class BookDataLoader extends UniFileLoader { 34 35 public BookDataLoader() { 36 super(BookDataLoader.class.getName()); 37 } 38 protected void initialize() { 39 super.initialize(); 40 getExtensions().addExtension("book"); 41 } 42 protected String displayName() { 43 return "Book"; 44 } 45 protected MultiDataObject createMultiObject(FileObject pf) throws java.io.IOException { 46 return new BookDataObject(pf, this); 47 } 48 49 } 50 | Popular Tags |