-
- All Known Subinterfaces:
-
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
AFlushable
是可以刷新的数据的目的地。 调用flush方法将任何缓冲输出写入底层流。- 从以下版本开始:
- 1.5
-
-
方法详细信息
-
flush
void flush() throws IOException
通过将任何缓冲的输出写入底层流来刷新流。- 异常
-
IOException
- If an I/O error occurs
-
-