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

## javax.resource.cci
Interface Streamable

public interface Streamable

The Streamable interface allows a resource adapter to interact with a Record as a stream of bytes. The Streamable interface is used by a resource adapter.

Method Summary
`void` | `read(InputStream istream)` Read the Streamable from the specified InputStream.
`void` | `write(OutputStream ostream)` Write the Streamable to the specified OutputStream.

Method Detail

### read

    public void read(InputStream istream)
              throws IOException

  Read the Streamable from the specified InputStream.

  Throws:
    `IOException`

### write

    public void write(OutputStream ostream)
               throws IOException

  Write the Streamable to the specified OutputStream.

  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 © 2002 JBoss Group, LLC. All Rights Reserved.