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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.net.URI` | `getBaseResourceURI()`
    `java.io.InputStream` | `openResource(java.net.URI uri)` Obtain an input stream to the resource at the given URI.
    `java.net.URI` | `resolve(java.net.URI parent, java.net.URI child)`

- - ### 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()

    - #### resolve

          java.net.URI resolve(java.net.URI parent,
                               java.net.URI child)