Package org.apache.xmlgraphics.util.io
Class ASCIIHexOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.xmlgraphics.util.io.ASCIIHexOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
,Finalizable
This class applies a ASCII Hex encoding to the stream.
- Version:
- $Id: ASCIIHexOutputStream.java 1732018 2016-02-24 04:51:06Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
private int
private static final int
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterOutputStream
flush, write, write
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
EOL
private static final int EOL- See Also:
-
EOD
private static final int EOD- See Also:
-
ZERO
private static final int ZERO- See Also:
-
NINE
private static final int NINE- See Also:
-
A
private static final int A- See Also:
-
ADIFF
private static final int ADIFF- See Also:
-
posinline
private int posinline
-
-
Constructor Details
-
ASCIIHexOutputStream
- See Also:
-
-
Method Details
-
write
- Overrides:
write
in classFilterOutputStream
- Throws:
IOException
- See Also:
-
checkLineWrap
- Throws:
IOException
-
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:
-