Name

Streamable

Synopsis

A Streamable is used by a resource adapter to read and write data in a Record, in the form of a stream of bytes. This interface is not typically used directly by a client, but is used internally by resource adapters to access data in a Record provided by a client.

public interface Streamable {
// Public Instance Methods
   public abstract void read(
        java.io.InputStream istream) throws IOException;  
   public abstract void write(
        java.io.OutputStream ostream) throws IOException;  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.