java.io.ObjectOutput翻译

2008-02-23 09:32:03来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

<!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD throws IOException
Write an object to the underlying storage or stream. The class that implements this interface defines how the object is written. 向底层存储或流中写入一个对象。实现该接口的对象定义了如何写入对象。

Parameters:
obj - the object to be written 要写入的对象
Throws:
IOException - Any of the usual Input/Output related exceptions. 任何相关的I/O异常发生时抛出。

throws IOException
Writes a byte. This method will block until the byte is actually written. 写入一个字节。方法将阻塞直到字节实际已被写入。

Specified by:
write in interface DataOutput
Parameters:
b - the byte 字节
Throws:
IOException - If an I/O error has occurred. 如果I/O错误发生时抛出。

throws IOException
Writes an array of bytes. This method will block until the bytes are actually written. 写入字节数组。方法将阻塞直到字节实际已被写入。

Specified by:
write in interface DataOutput
Parameters:
b - the data to be written 要写入的数据
Throws:
IOException - If an I/O error has occurred. 如果I/O错误发生时抛出。

int off, int len) throws IOException
Writes a sub array of bytes. 写入一段数组的字节。

Specified by:
write in interface DataOutput
Parameters:
b - the data to be written 要写入的数据
off - the start offset in the data 数据的起始偏移
len - the number of bytes that are written 写入的字节数
Throws:
IOException - If an I/O error has occurred. 如果I/O错误发生时抛出。

throws IOException
Flushes the stream. This will write any buffered output bytes. 刷新流。将写入任何缓冲输出流。

Throws:
IOException - If an I/O error has occurred. 如果I/O错误发生时抛出。

throws IOException
Closes the stream. This method must be called to release any resources associated with the stream. 关闭流。方法必须调用以释放与流相关的所有资源。

Throws:
IOException - If an I/O error has occurred. 如果I/O错误发生时抛出。
<!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD 下一篇: Struts中两个相似类的解释DispatchAction

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:使用MIDP1.0实现TiledLayer的效果,并实现简单的滚屏

下一篇:[原创]hibernate 一对一实践