Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. java.io > FilterOutputStream

Name

FilterOutputStream

Synopsis

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.

java.io.FilterOutputStream

Figure 9-22. java.io.FilterOutputStream

public 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;  
}

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint