FreeHEP API
Version current

org.freehep.util.io
Class ASCIIHexInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.freehep.util.io.ASCIIHexInputStream

public class ASCIIHexInputStream
extends InputStream

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. IMPORTANT: inherits from InputStream rather than FilterInputStream so that the correct read(byte[], int, int) method is used.

Version:
$Id: ASCIIHexInputStream.java,v 1.3 2001/06/19 09:39:27 duns Exp $
Author:
Mark Donszelmann
Source Code:
ASCIIHexInputStream.java

Constructor Summary
ASCIIHexInputStream(InputStream input)
           
ASCIIHexInputStream(InputStream input, boolean ignore)
           
 
Method Summary
 int getLineNo()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASCIIHexInputStream

public ASCIIHexInputStream(InputStream input)

ASCIIHexInputStream

public ASCIIHexInputStream(InputStream input,
                           boolean ignore)
Method Detail

read

public int read()
         throws IOException
Throws:
IOException

getLineNo

public int getLineNo()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.