1 8 package org.apache.avalon.excalibur.source; 9 10 import org.apache.avalon.framework.component.Component; 11 import org.apache.avalon.framework.component.ComponentException; 12 import java.io.IOException ; 13 import java.net.MalformedURLException ; 14 import java.net.URL ; 15 16 35 36 public interface SourceResolver 37 extends Component { 38 39 String ROLE = "org.apache.avalon.excalibur.source.SourceResolver"; 40 41 44 Source resolve(String location) 45 throws MalformedURLException , IOException , ComponentException; 46 47 50 Source resolve(URL base, String location) 51 throws MalformedURLException , IOException , ComponentException; 52 53 56 Source resolve(String location, 57 SourceParameters parameters) 58 throws MalformedURLException , IOException , ComponentException; 59 60 63 Source resolve(URL base, 64 String location, 65 SourceParameters parameters) 66 throws MalformedURLException , IOException , ComponentException; 67 68 71 void release( Source source ); 72 } 73 74 | Popular Tags |