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

## org.drools.io
Interface Resource

All Superinterfaces:
  Serializable

    public interface Resource

extends Serializable

Generic interface to provide a Reader or InputStream for the underlying IO resource.

Method Summary
`InputStream` | `getInputStream()` Open an InputStream to the resource, the user must close this when finished.
`Reader` | `getReader()` Opens a Reader to the resource, the user most close this when finished.

Method Detail

### getInputStream

    InputStream getInputStream()
                               throws IOException

  Open an InputStream to the resource, the user must close this when finished.

  Returns:
  Throws:
    `IOException`

### getReader

    Reader getReader()
                     throws IOException

  Opens a Reader to the resource, the user most close this when finished.

  Returns:
  Throws:
    `IOException`

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

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.