站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

Streamable (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.