org.freehep.util.io
Class DCTInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by org.freehep.util.io.DCTInputStream
All Implemented Interfaces:
Closeable

public class DCTInputStream
extends FilterInputStream

Author:
duns

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
DCTInputStream(InputStream input)
          Creates a DCT input stream from the given input stream
 
Method Summary
 int read()
          Read is not supported, only readImage.
 Image readImage()
           
 
Methods inherited from class java.io.FilterInputStream
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)
Creates a DCT input stream from the given input stream

Parameters:
input - stream to read from
Method Detail

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.