手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>程序设计>Java技术>列表

java.io.ObjectOutput翻译

来源:互联网 作者:west263.com 时间:2008-02-23
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!
<!-- 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

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!