API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.zip. CheckedOutputStream View Source
Author(s)
David Connelly
Since
Version
1.19, 11/17/05
Serial
Hierarchy
 Object
      OutputStream
          FilterOutputStream
              CheckedOutputStream
Implements
Subclasses
Description
public class CheckedOutputStream
  An output stream that also maintains a checksum of the data being written.
See also:    Checksum
Constructors
public CheckedOutputStream (OutputStream out, Checksum cksum)
  Creates an output stream with the specified Checksum.
Methods
Hide/Show inherited methods
public void close () throws IOException [Inherited From FilterOutputStream]
  Closes this output stream and releases any system resources associated with the stream.
public void flush () throws IOException [Inherited From FilterOutputStream]
  Flushes this output stream and forces any buffered output bytes to be written out to the stream.
public Checksum getChecksum ()
  Returns the Checksum for this output stream.
public void write (byte[] b) throws IOException [Inherited From FilterOutputStream]
  Writes b.length bytes to this output stream.
public void write (byte[] b, int off, int len) throws IOException [Overrides FilterOutputStream]
  Writes an array of bytes.
public void write (int b) throws IOException [Overrides FilterOutputStream] [Specified in OutputStream]
  Writes a byte.
Fields
Hide/Show inherited fields
protected OutputStream out [Inherited From FilterOutputStream]
The underlying output stream to be filtered.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar