com.ngs.image.source
Class JAITiffImageSource
java.lang.Object
com.ngs.image.ImageSource
com.ngs.image.source.DefaultThumbnailSource
com.ngs.image.source.JAIImageSource
com.ngs.image.source.JAITiffImageSource
- Direct Known Subclasses:
- JAITiffTranslucentSource
public class JAITiffImageSource
- extends JAIImageSource
An ImageSource that reads TIFF images from File or SeekableStreams using JAI.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAITiffImageSource
protected JAITiffImageSource()
JAITiffImageSource
public JAITiffImageSource(File f)
throws IOException
- Throws:
IOException
JAITiffImageSource
public JAITiffImageSource(InputStream is,
String name)
throws IOException
- Throws:
IOException
addRenderingHints
public void addRenderingHints(RenderingHints nHints)
open
protected void open(File f)
throws IOException
- Throws:
IOException
open
protected void open(InputStream is,
String name)
throws IOException
- Throws:
IOException
readStream
protected void readStream(com.sun.media.jai.codec.SeekableStream stream)
throws IOException
- Description copied from class:
JAIImageSource
- This readStream should parse the current stream and populate the
imageCache with new ImagePage objects..
- Specified by:
readStream
in class JAIImageSource
- Throws:
IOException