1 19 20 28 29 package org.netbeans.modules.xml.retriever; 30 31 import java.io.IOException ; 32 import java.io.InputStream ; 33 import java.net.URISyntaxException ; 34 import java.util.HashMap ; 35 36 40 public interface ResourceRetriever { 41 47 public boolean accept(String baseAddr, String currentAddr) throws URISyntaxException ; 48 49 55 public HashMap <String ,InputStream > retrieveDocument( 56 String baseAddress, String documentAddress) throws IOException ,URISyntaxException ; 57 58 59 65 public String getEffectiveAddress( 66 String baseAddress, String documentAddress) throws IOException ,URISyntaxException ; 67 68 69 74 public long getStreamLength(); 75 } 76 | Popular Tags |