uk.me.parabola.imgfmt.app.typ
Class BitmapImage

java.lang.Object
  extended by uk.me.parabola.imgfmt.app.typ.BitmapImage
All Implemented Interfaces:
java.util.Comparator<BitmapImage>, Writeable

public class BitmapImage
extends java.lang.Object
implements Writeable, java.util.Comparator<BitmapImage>


Constructor Summary
BitmapImage(byte typ, byte subtype, byte dayNight, int width, java.util.Map<java.lang.String,Rgb> colours, int cpc, java.lang.String image)
           
 
Method Summary
 int compare(BitmapImage a, BitmapImage b)
           
protected static BitmapImage comperator()
           
 int getOffset()
           
 int getSize()
           
 byte getSubtype()
           
 byte getTyp()
           
 void write(ImgFileWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

BitmapImage

public BitmapImage(byte typ,
                   byte subtype,
                   byte dayNight,
                   int width,
                   java.util.Map<java.lang.String,Rgb> colours,
                   int cpc,
                   java.lang.String image)
Method Detail

getTyp

public final byte getTyp()

getSubtype

public final byte getSubtype()

comperator

protected static BitmapImage comperator()

write

public void write(ImgFileWriter writer)
Specified by:
write in interface Writeable

getOffset

public int getOffset()

getSize

public int getSize()

compare

public int compare(BitmapImage a,
                   BitmapImage b)
Specified by:
compare in interface java.util.Comparator<BitmapImage>