org.freehep.util.io
Class DCTInputStream
java.lang.Object
java.io.InputStream
org.freehep.util.io.DCTInputStream
- public class DCTInputStream
- extends InputStream
Reads images from a JPEG Stream, but only images.
IMPORTANT: inherits from InputStream rather than FilterInputStream
so that the correct read(byte[], int, int) method is used.
- Version:
- $Id: DCTInputStream.java,v 1.5 2003/05/07 14:30:02 duns Exp $
- Author:
- Mark Donszelmann
- Source Code:
- DCTInputStream.java
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DCTInputStream
public DCTInputStream(InputStream input)
read
public int read()
throws IOException
- Throws:
IOException
readImage
public Image readImage()
throws IOException
- Throws:
IOException
Copyright © 2000-2004 FreeHEP, All Rights Reserved.