Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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()` Retrieves the base URI that the BPEL Process execution context is running relative to.
`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()

  Retrieves the base URI that the BPEL Process execution context is running relative to.

  Returns:
    URI - the URI representing the absolute physical file path location that this process is defined within.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD