1 9 10 package org.netbeans.modules.xml.retriever.catalog; 11 12 import java.io.IOException ; 13 import java.net.URI ; 14 import java.net.URISyntaxException ; 15 import org.netbeans.modules.xml.xam.locator.CatalogModelException; 16 import org.openide.filesystems.FileObject; 17 18 30 public abstract class ProjectCatalogSupport { 31 32 33 public ProjectCatalogSupport() { 34 } 35 36 46 public abstract URI constructProjectProtocol(FileObject foTobeAddedInCat); 47 48 49 60 61 public abstract boolean isProjectProtocol(URI uriStoredInCatFile); 62 63 64 65 75 public abstract FileObject resolveProjectProtocol(URI uriToBeResolved); 76 77 78 79 89 public abstract URI createCatalogEntry(FileObject source, FileObject target) throws 90 CatalogModelException, IOException ; 91 92 98 public abstract boolean removeCatalogEntry(URI uri) throws IOException ; 99 100 } 101 | Popular Tags |