Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.0.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlgraphics.util.io
Class ASCII85OutputStream

    java.lang.Object
      java.io.OutputStream
          java.io.FilterOutputStream
              org.apache.xmlgraphics.util.io.ASCII85OutputStream

All Implemented Interfaces:
  Closeable, Flushable, ASCII85Constants, Finalizable

    public class ASCII85OutputStream

extends FilterOutputStream
implements ASCII85Constants, Finalizable

This class applies a ASCII85 encoding to the stream.

Version:
  $Id: ASCII85OutputStream.java 1681698 2015-05-26 07:49:35Z ssteiner $

Field Summary

Fields inherited from class java.io.FilterOutputStream
`out`

Fields inherited from interface org.apache.xmlgraphics.util.io.ASCII85Constants
`END, EOD, EOL, POW85, START, ZERO, ZERO_ARRAY`

Constructor Summary
`ASCII85OutputStream(OutputStream out)`

Method Summary
`void` | `close()`
`void` | `finalizeStream()` This method can be called instead of close() on a subclass of FilteredOutputStream when a final marker has to be written to the target stream, but close() cannot be called.
`void` | `write(int b)`

Methods inherited from class java.io.FilterOutputStream
`flush, write, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ASCII85OutputStream

    public ASCII85OutputStream(OutputStream out)

See Also:
  `FilterOutputStream`

Method Detail

### write

    public void write(int b)
               throws IOException

  Overrides:
    `write` in class `FilterOutputStream`
  Throws:
    `IOException`
  See Also:
    `FilterOutputStream`

### finalizeStream

    public void finalizeStream()
                        throws IOException

  Description copied from interface: `Finalizable`
  This method can be called instead of close() on a subclass of FilteredOutputStream when a final marker has to be written to the target stream, but close() cannot be called.

  Specified by:
    `finalizeStream` in interface `Finalizable`
  Throws:
    `IOException` - In case of an IO problem
  See Also:
    `Finalizable`

### close

    public void close()
               throws IOException

  Specified by:
    `close` in interface `Closeable`
  Overrides:
    `close` in class `FilterOutputStream`
  Throws:
    `IOException`
  See Also:
    `FilterOutputStream`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.0.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.