org.apache.ode.bpel.compiler
Interface ResourceFinder

All Known Implementing Classes:
DefaultResourceFinder

public interface ResourceFinder

General interace for retrieving resources identified by a URI.


Method Summary
 java.net.URI getBaseResourceURI()
           
 java.io.InputStream openResource(java.net.URI uri)
          Obtain an input stream to the resource at the given URI.
 

Method Detail

openResource

java.io.InputStream openResource(java.net.URI uri)
                                 throws java.net.MalformedURLException,
                                        java.io.IOException
Obtain an input stream to the resource at the given URI.

Parameters:
uri - resource URI
Returns:
input stream or null if the resource is not found
Throws:
java.net.MalformedURLException - in case of invalid URI
java.io.IOException - in case of read error

getBaseResourceURI

java.net.URI getBaseResourceURI()