java.io
Interface Flushable

All Known Implementing Classes:
BufferedOutputStream, BufferedWriter, ByteArrayOutputStream, CharArrayWriter, CheckedOutputStream, CipherOutputStream, DataOutputStream, DeflaterOutputStream, DigestOutputStream, FileOutputStream, FileWriter, FilterOutputStream, FilterWriter, Formatter, GZIPOutputStream, JarOutputStream, LogStream, ObjectOutputStream, OutputStream, OutputStream, OutputStream, OutputStreamWriter, PipedOutputStream, PipedWriter, PrintStream, PrintWriter, StringWriter, Writer, ZipOutputStream

public interface Flushable

A Flushable class represents a stream of data, for which internally buffered data can be `flushed'. Flushing such a stream causes the buffered data to be written to the stream.

Since:
1.5

Method Summary
 void flush()
          Flushes the stream represented by this class, so that any buffered data is written to the stream.
 

Method Detail

flush

void flush()
           throws IOException
Flushes the stream represented by this class, so that any buffered data is written to the stream.

Throws:
IOException - if an I/O error occurs in flushing.