Package 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
,AutoCloseable
,ASCII85Constants
,Finalizable
public class ASCII85OutputStream
extends FilterOutputStream
implements ASCII85Constants, Finalizable
This class applies a ASCII85 encoding to the stream.
- Version:
- $Id$
-
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
Constructors -
Method Summary
Methods inherited from class java.io.FilterOutputStream
flush, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
ASCII85OutputStream
- See Also:
-
-
Method Details
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
- See Also:
-
finalizeStream
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 interfaceFinalizable
- Throws:
IOException
- In case of an IO problem- See Also:
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterOutputStream
- Throws:
IOException
- See Also:
-