org.libtiff.jai.codecimpl
Class XTIFFCodec

java.lang.Object
  extended by com.sun.media.jai.codec.ImageCodec
      extended by org.libtiff.jai.codecimpl.XTIFFCodec

public class XTIFFCodec
extends com.sun.media.jai.codec.ImageCodec

TIFFCodec is declared final so we can't extend it


Constructor Summary
XTIFFCodec()
           
 
Method Summary
 boolean canEncodeImage(java.awt.image.RenderedImage im, com.sun.media.jai.codec.ImageEncodeParam param)
           
 java.lang.Class getDecodeParamClass()
           
 java.lang.Class getEncodeParamClass()
           
 java.lang.String getFormatName()
           
 int getNumHeaderBytes()
           
 boolean isFormatRecognized(byte[] header)
           
 
Methods inherited from class com.sun.media.jai.codec.ImageCodec
createComponentColorModel, createComponentColorModel, createGrayIndexColorModel, createImageDecoder, createImageDecoder, createImageDecoder, createImageEncoder, getCodec, getCodecs, getDecoderNames, getEncoderNames, isFormatRecognized, isIndicesForGrayscale, registerCodec, unregisterCodec
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTIFFCodec

public XTIFFCodec()
Method Detail

getFormatName

public java.lang.String getFormatName()
Specified by:
getFormatName in class com.sun.media.jai.codec.ImageCodec

getEncodeParamClass

public java.lang.Class getEncodeParamClass()
Specified by:
getEncodeParamClass in class com.sun.media.jai.codec.ImageCodec

getDecodeParamClass

public java.lang.Class getDecodeParamClass()
Specified by:
getDecodeParamClass in class com.sun.media.jai.codec.ImageCodec

canEncodeImage

public boolean canEncodeImage(java.awt.image.RenderedImage im,
                              com.sun.media.jai.codec.ImageEncodeParam param)
Specified by:
canEncodeImage in class com.sun.media.jai.codec.ImageCodec

getNumHeaderBytes

public int getNumHeaderBytes()
Overrides:
getNumHeaderBytes in class com.sun.media.jai.codec.ImageCodec

isFormatRecognized

public boolean isFormatRecognized(byte[] header)
Overrides:
isFormatRecognized in class com.sun.media.jai.codec.ImageCodec