com.sun.jimi.core
Class JimiDecoderFactorySupport

java.lang.Object
  |
  +--com.sun.jimi.core.JimiDecoderFactorySupport
Direct Known Subclasses:
BMPDecoderFactory, BuiltinDecoderFactory, CURDecoderFactory, GIFDecoderFactory, ICODecoderFactory, PCXDecoderFactory, PICTDecoderFactory, PNGDecoderFactory, PSDDecoderFactory, SunRasterDecoderFactory, TGADecoderFactory, TIFDecoderFactory, XBMDecoderFactory, XPMDecoderFactory

public abstract class JimiDecoderFactorySupport
extends java.lang.Object
implements JimiDecoderFactory

Base class for JimiDecoderFactory implementations.


Constructor Summary
JimiDecoderFactorySupport()
           
 
Method Summary
 byte[] getFormatSignature()
          Get the format signature as a byte array.
 byte[][] getFormatSignatures()
          Default implementation, wrapping to getFormatSignature to provide a single signature.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JimiDecoderFactorySupport

public JimiDecoderFactorySupport()
Method Detail

getFormatSignature

public byte[] getFormatSignature()
Get the format signature as a byte array. Default implementation supplies no signature (null).
Returns:
an array of bytes representing the format signature

getFormatSignatures

public byte[][] getFormatSignatures()
Default implementation, wrapping to getFormatSignature to provide a single signature.
Specified by:
getFormatSignatures in interface JimiDecoderFactory