org.freehep.util.io
Class DCTInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.freehep.util.io.DCTInputStream
- All Implemented Interfaces:
- Closeable
public class DCTInputStream
- extends FilterInputStream
- Author:
- duns
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DCTInputStream
public DCTInputStream(InputStream input)
- Creates a DCT input stream from the given input stream
- Parameters:
input
- stream to read from
read
public int read()
throws IOException
- Read is not supported, only readImage.
- Overrides:
read
in class FilterInputStream
- Throws:
IOException
- See Also:
FilterInputStream.read()
readImage
public Image readImage()
throws IOException
- Returns:
- image read
- Throws:
IOException
- if read fails
Copyright © 2000-2007 FreeHEP. All Rights Reserved.