Copyright 2013-01-06 Werner Randelshofer

org.monte.media.jpeg
Class MJPGImageReaderSpi

java.lang.Object
  extended by javax.imageio.spi.IIOServiceProvider
      extended by javax.imageio.spi.ImageReaderWriterSpi
          extended by javax.imageio.spi.ImageReaderSpi
              extended by org.monte.media.jpeg.MJPGImageReaderSpi
All Implemented Interfaces:
javax.imageio.spi.RegisterableService

public class MJPGImageReaderSpi
extends javax.imageio.spi.ImageReaderSpi

ImageIO service provider interface for images in the Motion JPEG (MJPG) format.

The reader described by this class can read Motion JPEG files with omitted Huffmann table.

For more information see: Microsoft Windows Bitmap Format. Multimedia Technical Note: JPEG DIB Format. (c) 1993 Microsoft Corporation. All rights reserved. BMPDIB.txt

Version:
$Id: MJPGImageReaderSpi.java 299 2013-01-03 07:40:18Z werner $
Author:
Werner Randelshofer

Field Summary
 
Fields inherited from class javax.imageio.spi.ImageReaderSpi
inputTypes, STANDARD_INPUT_TYPE, writerSpiNames
 
Fields inherited from class javax.imageio.spi.ImageReaderWriterSpi
extraImageMetadataFormatClassNames, extraImageMetadataFormatNames, extraStreamMetadataFormatClassNames, extraStreamMetadataFormatNames, MIMETypes, names, nativeImageMetadataFormatClassName, nativeImageMetadataFormatName, nativeStreamMetadataFormatClassName, nativeStreamMetadataFormatName, pluginClassName, suffixes, supportsStandardImageMetadataFormat, supportsStandardStreamMetadataFormat
 
Fields inherited from class javax.imageio.spi.IIOServiceProvider
vendorName, version
 
Constructor Summary
MJPGImageReaderSpi()
           
 
Method Summary
 boolean canDecodeInput(java.lang.Object source)
           
 javax.imageio.ImageReader createReaderInstance(java.lang.Object extension)
           
 java.lang.String getDescription(java.util.Locale locale)
           
 
Methods inherited from class javax.imageio.spi.ImageReaderSpi
createReaderInstance, getImageWriterSpiNames, getInputTypes, isOwnReader
 
Methods inherited from class javax.imageio.spi.ImageReaderWriterSpi
getExtraImageMetadataFormatNames, getExtraStreamMetadataFormatNames, getFileSuffixes, getFormatNames, getImageMetadataFormat, getMIMETypes, getNativeImageMetadataFormatName, getNativeStreamMetadataFormatName, getPluginClassName, getStreamMetadataFormat, isStandardImageMetadataFormatSupported, isStandardStreamMetadataFormatSupported
 
Methods inherited from class javax.imageio.spi.IIOServiceProvider
getVendorName, getVersion, onDeregistration, onRegistration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MJPGImageReaderSpi

public MJPGImageReaderSpi()
Method Detail

canDecodeInput

public boolean canDecodeInput(java.lang.Object source)
                       throws java.io.IOException
Specified by:
canDecodeInput in class javax.imageio.spi.ImageReaderSpi
Throws:
java.io.IOException

createReaderInstance

public javax.imageio.ImageReader createReaderInstance(java.lang.Object extension)
                                               throws java.io.IOException
Specified by:
createReaderInstance in class javax.imageio.spi.ImageReaderSpi
Throws:
java.io.IOException

getDescription

public java.lang.String getDescription(java.util.Locale locale)
Specified by:
getDescription in class javax.imageio.spi.IIOServiceProvider

Copyright 2013-01-06 Werner Randelshofer