uk.co.mmscomputing.imageio.jpeg
Class JPEGHuffmanInputStream
java.lang.Object
java.io.InputStream
uk.co.mmscomputing.imageio.jpeg.JPEGHuffmanInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class JPEGHuffmanInputStream
- extends java.io.InputStream
| 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, wait, wait, wait |
BITS
protected int[] BITS
HUFFVAL
protected int[] HUFFVAL
HUFFSIZE
protected int[] HUFFSIZE
HUFFCODE
protected int[] HUFFCODE
VALPTR
protected int[] VALPTR
MINCODE
protected int[] MINCODE
MAXCODE
protected int[] MAXCODE
in
protected JPEGBitInputStream in
JPEGHuffmanInputStream
public JPEGHuffmanInputStream(JPEGBitInputStream in,
java.io.InputStream tables)
throws java.io.IOException
- Throws:
java.io.IOException
JPEGHuffmanInputStream
public JPEGHuffmanInputStream(java.io.InputStream tables)
throws java.io.IOException
- Throws:
java.io.IOException
setInputStream
public void setInputStream(JPEGBitInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
readBits
public int readBits(int bitSize)
throws java.io.IOException
- Throws:
java.io.IOException
restart
public void restart()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
- Throws:
java.io.IOException
Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.