org.freehep.util.io
Class ASCIIHexInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.freehep.util.io.ASCIIHexInputStream
-
- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable
public class ASCIIHexInputStream extends java.io.InputStreamThe ASCIIHexOutputStream decodes ASCII Hexadecimal. The exact definition of ASCII Hex encoding can be found in the PostScript Language Reference (3rd ed.) chapter 3.13.3. IMPORTANT: inherits from InputStream rather than FilterInputStream so that the correct read(byte[], int, int) method is used.
-
-
Constructor Summary
Constructors Constructor and Description ASCIIHexInputStream(java.io.InputStream input)Create an ASCIIHex Input Stream from given streamASCIIHexInputStream(java.io.InputStream input, boolean ignore)Create an ASCIIHex Input Stream from given stream and have it optionally ignore illegal characters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetLineNo()intread()
-
-
-
Constructor Detail
-
ASCIIHexInputStream
public ASCIIHexInputStream(java.io.InputStream input)
Create an ASCIIHex Input Stream from given stream- Parameters:
input- input stream to use
-
ASCIIHexInputStream
public ASCIIHexInputStream(java.io.InputStream input, boolean ignore)Create an ASCIIHex Input Stream from given stream and have it optionally ignore illegal characters- Parameters:
input- input stream to useignore- ignore illegal characters
-
-
DMelt 3.0 © DataMelt by jWork.ORG