org.freehep.util.io
Class ASCIIHexInputStream
java.lang.Object
java.io.InputStream
org.freehep.util.io.DecodingInputStream
org.freehep.util.io.ASCIIHexInputStream
- All Implemented Interfaces:
- Closeable
public class ASCIIHexInputStream
- extends DecodingInputStream
The 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.
- Author:
- Mark Donszelmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASCIIHexInputStream
public ASCIIHexInputStream(InputStream input)
- Create an ASCIIHex Input Stream from given stream
- Parameters:
input - input stream to use
ASCIIHexInputStream
public ASCIIHexInputStream(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
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
getLineNo
public int getLineNo()
- Returns:
- current line number
Copyright © 2012. All Rights Reserved.