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

## org.apache.xmlgraphics.io
Interface TempResourceResolver

    public interface TempResourceResolver

Implementations of this interface resolve URIs for temporary files used by XGC. The temporary- resource URI scheme comes from `TempResourceURIGenerator.TMP_SCHEME`.

Method Summary
`OutputStream` | `getOutputStream(String id)` Gets an temporary-output stream of a given identifier.
`Resource` | `getResource(String id)` Get a temporary-resource given the identifier pointing to said resource.

Method Detail

### getResource

    Resource getResource(String id)
                         throws IOException

  Get a temporary-resource given the identifier pointing to said resource.

  Parameters:
    `id` - the resource identifier
  Returns:
    the resource
  Throws:
    `IOException` - if an I/O error occured during resource acquisition

### getOutputStream

    OutputStream getOutputStream(String id)
                                 throws IOException

  Gets an temporary-output stream of a given identifier.

  Parameters:
    `id` - the output stream identifier
  Returns:
    the output stream
  Throws:
    `IOException` - if an I/O error occured while creating an output stream

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

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.