-
- 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
,OutputStreamWriter
,PipedOutputStream
,PipedWriter
,PrintStream
,PrintWriter
,StringWriter
,Writer
,ZipOutputStream
public interface Flushable
Flushable
是可以刷新的数据的目标。 调用flush方法将任何缓冲的输出写入底层流。- 从以下版本开始:
- 1.5
-
-
方法详细信息
-
flush
void flush() throws IOException
通过将任何缓冲的输出写入基础流来刷新此流。- 异常
-
IOException
- If an I/O error occurs
-
-