FreeHEP API
Version current

org.freehep.util.io
Class DCTInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byorg.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

Constructor Summary
DCTInputStream(InputStream input)
           
 
Method Summary
 int read()
           
 Image readImage()
           
 
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

DCTInputStream

public DCTInputStream(InputStream input)
Method Detail

read

public int read()
         throws IOException
Throws:
IOException

readImage

public Image readImage()
                throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.