All Packages  This Package  Class Hierarchy  Class Search  Index

Class glguerin.util.SinkOutputStream
java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----glguerin.util.SinkOutputStream

  Summary

public class  SinkOutputStream
     extends java.io.OutputStream
{
          // Constructors 1
     public SinkOutputStream();

          // Methods 3
     public void close() throws IOException;
     public void write(byte[], int, int) throws IOException;
     public void write(int) throws IOException;
}

A SinkOutputStream is a data-sink OutputStream that accepts all data written to it, keeping none of it.




  Constructors

· SinkOutputStream

Summary  |  Top

   public SinkOutputStream() 

What more do you need?



  Methods

· write

Summary  |  Top
   public void write(int abyte)  throws IOException

Write one byte.

Overrides:
write in class OutputStream


· write

Summary  |  Top
   public void write(byte[] bytes, 
                     int offset, 
                     int count)  throws IOException

Write range of byte-array.

Overrides:
write in class OutputStream


· close

Summary  |  Top
   public void close()  throws IOException

Close does nothing.

Overrides:
close in class OutputStream


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7