javax.resource.cci
Interface Streamable


public interface Streamable

Lets a record extract data from a record.


Method Summary
 void read(java.io.InputStream istream)
          Reads data from an input stream to initialize the streamable.
 void write(java.io.OutputStream ostream)
          Writes data from the streamable to the output stream.
 

Method Detail

read

void read(java.io.InputStream istream)
          throws java.io.IOException
Reads data from an input stream to initialize the streamable.

Throws:
java.io.IOException

write

void write(java.io.OutputStream ostream)
           throws java.io.IOException
Writes data from the streamable to the output stream.

Throws:
java.io.IOException