1 17 package org.apache.excalibur.source; 18 19 import java.io.IOException ; 20 import java.net.MalformedURLException ; 21 import java.util.Map ; 22 23 import org.apache.avalon.framework.component.Component; 24 25 44 45 public interface SourceResolver 46 extends Component 47 { 48 String ROLE = SourceResolver.class.getName(); 49 50 54 String METHOD = Source.class.getName()+".uri.method"; 55 56 60 String URI_PARAMETERS = Source.class.getName()+".uri.parameters"; 61 62 66 String URI_ENCODING = Source.class.getName()+".uri.encoding"; 67 68 76 Source resolveURI( String location ) 77 throws MalformedURLException , IOException ; 78 79 93 Source resolveURI( String location, 94 String base, 95 Map parameters ) 96 throws MalformedURLException , IOException ; 97 98 103 void release( Source source ); 104 } 105 | Popular Tags |