public interface ObjectOutput extends DataOutput, AutoCloseable
InputStream, ObjectOutputStream, ObjectInputStream| 修飾子と型 | メソッドと説明 |
|---|---|
void |
close()
ストリームを閉じます。
|
void |
flush()
ストリームをフラッシュします。
|
void |
write(byte[] b)
バイト配列を書き込みます。
|
void |
write(byte[] b, int off, int len)
バイト配列の一部を書き込みます。
|
void |
write(int b)
バイトを書き込みます。
|
void |
writeObject(Object obj)
ベースとなる記憶域またはストリームにオブジェクトを書き込みます。
|
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFvoid writeObject(Object obj) throws IOException
obj - 書き込まれるオブジェクトIOException - 通常の入出力関連の例外が発生した場合。void write(int b)
throws IOException
write、インタフェース: DataOutputb - バイトIOException - 入出力エラーが発生した場合。void write(byte[] b)
throws IOException
write、インタフェース: DataOutputb - 書き込まれるデータIOException - 入出力エラーが発生した場合。void write(byte[] b,
int off,
int len)
throws IOException
write、インタフェース: DataOutputb - 書き込まれるデータoff - データ内の開始オフセットlen - 書き込まれるバイト数IOException - 入出力エラーが発生した場合。void flush()
throws IOException
IOException - 入出力エラーが発生した場合。void close()
throws IOException
close、インタフェース: AutoCloseableIOException - 入出力エラーが発生した場合。 バグまたは機能を送信
詳細な API リファレンスおよび開発者ドキュメントについては、Java SE のドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.