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