Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.imagero.uio.io
Class HexInputStream  view HexInputStream download HexInputStream.java

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FilterInputStream
          extended bycom.imagero.uio.io.HexInputStream
All Implemented Interfaces:
java.io.Closeable

public class HexInputStream
extends java.io.FilterInputStream


Field Summary
(package private)  byte[] buffer
           
(package private)  int count
           
static int[] decodeTable
           
private static char[] encodeTable
           
(package private)  boolean finished
           
(package private)  int pos
           
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
HexInputStream(java.io.InputStream in)
           
 
Method Summary
private  void fillBuffer()
           
 int read()
          Calls the in.read() method
 int read(byte[] b)
          Calls the read(byte[], int, int) overloaded method.
 int read(byte[] b, int off, int len)
          Calls the in.read(byte[], int, int) method.
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

encodeTable

private static final char[] encodeTable

decodeTable

public static final int[] decodeTable

finished

boolean finished

buffer

byte[] buffer

count

int count

pos

int pos
Constructor Detail

HexInputStream

public HexInputStream(java.io.InputStream in)
Method Detail

read

public int read()
         throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the in.read() method


fillBuffer

private void fillBuffer()
                 throws java.io.IOException

read

public int read(byte[] b)
         throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the read(byte[], int, int) overloaded method. Note that this method does not redirect its call directly to a corresponding method in in. This allows subclasses to override only the three argument version of read.


read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Description copied from class: java.io.FilterInputStream
Calls the in.read(byte[], int, int) method.