com.sun.jimi.core
Interface JimiDecoderFactory

All Known Implementing Classes:
JimiDecoderFactorySupport, APFDecoderFactory

public abstract interface JimiDecoderFactory
extends FormatFactory

A factory for creating JimiDecoders.


Method Summary
 JimiDecoder createDecoder()
          Instantiate a decoder for the format.
 byte[][] getFormatSignatures()
          Get an array of byte-arrays containing the signature of the format.
 
Methods inherited from interface com.sun.jimi.core.FormatFactory
getFilenameExtensions, getFormatName, getMimeTypes
 

Method Detail

getFormatSignatures

public byte[][] getFormatSignatures()
Get an array of byte-arrays containing the signature of the format. The signature is the string of data at the beginning of the file used to identify its format.
Returns:
the byte-array signatures

createDecoder

public JimiDecoder createDecoder()
Instantiate a decoder for the format.
Returns:
a decoder instance