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 }
Object->OutputStream->FilterOutputStream
BufferedOutputStream, CheckedOutputStream, DataOutputStream, DeflaterOutputStream, PrintStream