This class provides method definitions required to filter the data to be written to the OutputStream specified when the FilterOutputStream is created. It must be subclassed to perform some sort of filtering operation and may not be instantiated directly. See the subclasses BufferedOutputStream and DataOutputStream . Figure 9-22. java.io.FilterOutputStreampublic class FilterOutputStream extends OutputStream { // Public Constructors public FilterOutputStream (OutputStream out ); // Public Methods Overriding OutputStream public void close ( ) throws IOException; public void flush ( ) throws IOException; public void write (int b ) throws IOException; public void write (byte[ ] b ) throws IOException; public void write (byte[ ] b , int off , int len ) throws IOException; // Protected Instance Fields protected OutputStream out ; } SubclassesBufferedOutputStream , DataOutputStream , PrintStream , java.security.DigestOutputStream , java.util.zip.CheckedOutputStream , java.util.zip.DeflaterOutputStream , javax.crypto.CipherOutputStream |