Class ImageInputStreamWrapper

java.lang.Object
java.io.InputStream
com.sun.media.imageioimpl.plugins.jpeg2000.ImageInputStreamWrapper
All Implemented Interfaces:
Closeable, AutoCloseable

public class ImageInputStreamWrapper extends InputStream
This class is designed to wrap a ImageInputStream into a InputStream. The reason is that ImageInputStream implements DataInput but doesn't extend InputStream. However, the JJ2000 JPEG 2000 packages accepts a InputStream when reads a JPEG 2000 image file.