Java™ Platform
Standard Ed. 6

Uses of Interface
java.io.Flushable

Packages that use Flushable
java.io Provides for system input and output through data streams, serialization and the file system. 
java.rmi.server Provides classes and interfaces for supporting the server side of RMI. 
java.security Provides the classes and interfaces for the security framework. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
java.util.jar Provides classes for reading and writing the JAR (Java ARchive) file format, which is based on the standard ZIP file format with an optional manifest file. 
java.util.zip Provides classes for reading and writing the standard ZIP and GZIP file formats. 
javax.crypto Provides the classes and interfaces for cryptographic operations. 
javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers. 
 

Uses of Flushable in java.io
 

Classes in java.io that implement Flushable
 class BufferedOutputStream
          The class implements a buffered output stream.
 class BufferedWriter
          Writes text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.
 class ByteArrayOutputStream
          This class implements an output stream in which the data is written into a byte array.
 class CharArrayWriter
          This class implements a character buffer that can be used as an Writer.
 class Console
          Methods to access the character-based console device, if any, associated with the current Java virtual machine.
 class DataOutputStream
          A data output stream lets an application write primitive Java data types to an output stream in a portable way.
 class FileOutputStream
          A file output stream is an output stream for writing data to a File or to a FileDescriptor.
 class FileWriter
          Convenience class for writing character files.
 class FilterOutputStream
          This class is the superclass of all classes that filter output streams.
 class FilterWriter
          Abstract class for writing filtered character streams.
 class ObjectOutputStream
          An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.
 class OutputStream
          This abstract class is the superclass of all classes representing an output stream of bytes.
 class OutputStreamWriter
          An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are encoded into bytes using a specified charset.
 class PipedOutputStream
          A piped output stream can be connected to a piped input stream to create a communications pipe.
 class PipedWriter
          Piped character-output streams.
 class PrintStream
          A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
 class PrintWriter
          Prints formatted representations of objects to a text-output stream.
 class StringWriter
          A character stream that collects its output in a string buffer, which can then be used to construct a string.
 class Writer
          Abstract class for writing to character streams.
 

Uses of Flushable in java.rmi.server
 

Classes in java.rmi.server that implement Flushable
 class LogStream
          Deprecated. no replacement
 

Uses of Flushable in java.security
 

Classes in java.security that implement Flushable
 class DigestOutputStream
          A transparent stream that updates the associated message digest using the bits going through the stream.
 

Uses of Flushable in java.util
 

Classes in java.util that implement Flushable
 class Formatter
          An interpreter for printf-style format strings.
 

Uses of Flushable in java.util.jar
 

Classes in java.util.jar that implement Flushable
 class JarOutputStream
          The JarOutputStream class is used to write the contents of a JAR file to any output stream.
 

Uses of Flushable in java.util.zip
 

Classes in java.util.zip that implement Flushable
 class CheckedOutputStream
          An output stream that also maintains a checksum of the data being written.
 class DeflaterOutputStream
          This class implements an output stream filter for compressing data in the "deflate" compression format.
 class GZIPOutputStream
          This class implements a stream filter for writing compressed data in the GZIP file format.
 class InflaterOutputStream
          Implements an output stream filter for uncompressing data stored in the "deflate" compression format.
 class ZipOutputStream
          This class implements an output stream filter for writing files in the ZIP file format.
 

Uses of Flushable in javax.crypto
 

Classes in javax.crypto that implement Flushable
 class CipherOutputStream
          A CipherOutputStream is composed of an OutputStream and a Cipher so that write() methods first process the data before writing them out to the underlying OutputStream.
 

Uses of Flushable in javax.tools
 

Subinterfaces of Flushable in javax.tools
 interface JavaFileManager
          File manager for tools operating on Java™ programming language source and class files.
 interface StandardJavaFileManager
          File manager based on java.io.File.
 

Classes in javax.tools that implement Flushable
 class ForwardingJavaFileManager<M extends JavaFileManager>
          Forwards calls to a given file manager.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.