Package org.apache.xmlgraphics.util.io
Class ASCII85InputStream
java.lang.Object
java.io.InputStream
org.apache.xmlgraphics.util.io.ASCII85InputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ASCII85Constants
This class applies a ASCII85 decoding to the stream.
The class is derived from InputStream instead of FilteredInputStream because we can use the read(byte[], int, int) method from InputStream which simply delegates to read(). This makes the implementation easier.
The filter is described in chapter 3.13.3 of the PostScript Language Reference (third edition).
- Version:
- $Id$
-
Field Summary
Fields inherited from interface org.apache.xmlgraphics.util.io.ASCII85Constants
END, EOD, EOL, POW85, START, ZERO, ZERO_ARRAY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
ASCII85InputStream
- See Also:
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
- See Also:
-