|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个 CLASS | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.resource.cci Interface Streamable
public interface Streamable
Streamable interface enables a resource adapter to extract data from an input Record or set data into an output Record as a stream of bytes.
The Streamable interface provides a resource adapter's view of the data that has been set in a Record instance by a component.
The Streamable interface is not directly used by a component. It is used by a resource adapter implementation. A component uses Record or any derived interfaces to manage records.
- 从以下版本开始:
- 0.8
- 作者:
- Rahul Sharma
- 另请参见:
Record
方法摘要 | |
---|---|
void |
read(InputStream istream)
Read data from an InputStream and initialize fields of a Streamable object. |
void |
write(OutputStream ostream)
Write fields of a Streamable object to an OutputStream |
方法详细信息 |
---|
read
void read(InputStream istream) throws IOException
- Read data from an InputStream and initialize fields of a
Streamable object.
- 参数:
istream
- InputStream that represents a resource adapter specific internal representation of fields of a Streamable object- 抛出异常:
IOException
write
void write(OutputStream ostream) throws IOException
- Write fields of a Streamable object to an OutputStream
- 参数:
ostream
- OutputStream that holds value of a Streamable object- 抛出异常:
IOException
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个 CLASS | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.