intarsys PDF library API

de.intarsys.pdf.filter
Class ASCIIHexInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by de.intarsys.pdf.filter.ASCIIHexInputStream
All Implemented Interfaces:
Closeable

public class ASCIIHexInputStream
extends FilterInputStream

Input stream to decode binary data encoded in ascii representable byte codes. The algorithm produces one byte of data from two ascii hex characters


Constructor Summary
ASCIIHexInputStream(InputStream in)
           
 
Method Summary
 int available()
           
static boolean isWhitespace(int i)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.io.FilterInputStream
close, mark, read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASCIIHexInputStream

public ASCIIHexInputStream(InputStream in)
Method Detail

isWhitespace

public static boolean isWhitespace(int i)

available

public int available()
              throws IOException
Overrides:
available in class FilterInputStream
Throws:
IOException

markSupported

public boolean markSupported()
Overrides:
markSupported in class FilterInputStream

read

public int read()
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class FilterInputStream
Throws:
IOException

reset

public void reset()
           throws IOException
Overrides:
reset in class FilterInputStream
Throws:
IOException

skip

public long skip(long n)
          throws IOException
Overrides:
skip in class FilterInputStream
Throws:
IOException

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.