本帖最后由 刘文飞 于 2012-11-26 22:56 编辑
sp000 发表于 2012-11-26 22:48 ![]()
你找得到 flush() 方法的源代码吗? - package java.io;
- import java.io.IOException;
- /**
- * A <tt>Flushable</tt> is a destination of data that can be flushed. The
- * flush method is invoked to write any buffered output to the underlying
- * stream.
- *
- * @since 1.5
- */
- public interface Flushable {
- /**
- * Flushes this stream by writing any buffered output to the underlying
- * stream.
- *
- * @throws IOException If an I/O error occurs
- */
- void flush() throws IOException;
- }
复制代码 |