| java.lang.Object java.io.InputStream com.sun.media.imageioimpl.plugins.jpeg2000.ImageInputStreamWrapper
ImageInputStreamWrapper | public class ImageInputStreamWrapper extends InputStream (Code) | | 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.
|
Method Summary | |
public void | close() | public synchronized void | mark(int readlimit) | public boolean | markSupported() | public int | read() | public int | read(byte b) | public int | read(byte b, int off, int len) | public synchronized void | reset() | public long | skip(long n) |
ImageInputStreamWrapper | public ImageInputStreamWrapper(ImageInputStream src)(Code) | | Constructs an ImageInputStreamWrapper from the provided
ImageInputStream .
Parameters: src - The ImageInputStream to be wrapped. |
mark | public synchronized void mark(int readlimit)(Code) | | |
markSupported | public boolean markSupported()(Code) | | |
|
|