JavaTM 2 Platform
Standard Ed. 6

java.io
介面 Flushable

所有已知子介面:
JavaFileManager, StandardJavaFileManager
所有已知實作類別:
BufferedOutputStream, BufferedWriter, ByteArrayOutputStream, CharArrayWriter, CheckedOutputStream, CipherOutputStream, Console, DataOutputStream, DeflaterOutputStream, DigestOutputStream, FileOutputStream, FileWriter, FilterOutputStream, FilterWriter, Formatter, ForwardingJavaFileManager, GZIPOutputStream, InflaterOutputStream, JarOutputStream, LogStream, ObjectOutputStream, OutputStream, OutputStream, OutputStream, OutputStreamWriter, PipedOutputStream, PipedWriter, PrintStream, PrintWriter, StringWriter, Writer, ZipOutputStream

public interface Flushable

Flushable 是可刷新資料的目標地。調用 flush 方法將所有已緩衝輸出寫入底層串流。

從以下版本開始:
1.5

方法摘要
 void flush()
          通過將所有已緩衝輸出寫入底層串流來刷新此串流。
 

方法詳細資訊

flush

void flush()
           throws IOException
通過將所有已緩衝輸出寫入底層串流來刷新此串流。

拋出:
IOException - 如果發生 I/O 錯誤

JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only