java.io.ObjectOutput翻译
2008-02-23 09:32:03来源:互联网 阅读 ()
- 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 interfaceDataOutput
- 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 interfaceDataOutput
- 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 interfaceDataOutput
- 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错误发生时抛出。
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash