home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Java in a Nutshell

Previous Chapter 24
The java.io Package
Next
 

24.25 java.io.FilterOutputStream (JDK 1.0)

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.

public class FilterOutputStream extends OutputStream {
    // Public Constructor
            public FilterOutputStream(OutputStream out);
    // Protected Instance Variables
            protected OutputStream out;
    // Public Instance Methods
            public void close() throws IOException;  // Overrides OutputStream
            public void flush() throws IOException;  // Overrides OutputStream
            public void write(int b) throws IOException;  // Defines OutputStream
            public void write(byte[] b) throws IOException;  // Overrides OutputStream
            public void write(byte[] b, int off, int len) throws IOException;  // Overrides OutputStream
}

Hierarchy:

Object->OutputStream->FilterOutputStream

Extended By:

BufferedOutputStream, CheckedOutputStream, DataOutputStream, DeflaterOutputStream, PrintStream


Previous Home Next
java.io.FilterInputStream (JDK 1.0) Book Index java.io.FilterReader (JDK 1.1)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java