org.apache.sanselan.formats.bmp.pixelparsers
Class PixelParserSimple

java.lang.Object
  extended by org.apache.sanselan.formats.bmp.pixelparsers.PixelParser
      extended by org.apache.sanselan.formats.bmp.pixelparsers.PixelParserSimple
Direct Known Subclasses:
PixelParserBitFields, PixelParserRgb

public abstract class PixelParserSimple
extends PixelParser


Field Summary
 
Fields inherited from class org.apache.sanselan.formats.bmp.pixelparsers.PixelParser
bfp, bhi, colorTable, imageData, is
 
Constructor Summary
PixelParserSimple(BmpHeaderInfo bhi, byte[] ColorTable, byte[] ImageData)
           
 
Method Summary
abstract  int getNextRGB()
           
abstract  void newline()
           
 void processImage(java.awt.image.BufferedImage bi)
           
 
Methods inherited from class org.apache.sanselan.formats.bmp.pixelparsers.PixelParser
getColorTableRGB
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PixelParserSimple

public PixelParserSimple(BmpHeaderInfo bhi,
                         byte[] ColorTable,
                         byte[] ImageData)
Method Detail

getNextRGB

public abstract int getNextRGB()
                        throws ImageReadException,
                               java.io.IOException
Throws:
ImageReadException
java.io.IOException

newline

public abstract void newline()
                      throws ImageReadException,
                             java.io.IOException
Throws:
ImageReadException
java.io.IOException

processImage

public void processImage(java.awt.image.BufferedImage bi)
                  throws ImageReadException,
                         java.io.IOException
Specified by:
processImage in class PixelParser
Throws:
ImageReadException
java.io.IOException


Copyright © 2007-2009. All Rights Reserved.