org.gamenet.application.mm8leveleditor.converter
Class TGAToBMPFormatConverter.TGAToBMPConversionOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.gamenet.application.mm8leveleditor.converter.TGAToBMPFormatConverter.TGAToBMPConversionOutputStream
Enclosing class:
TGAToBMPFormatConverter

public class TGAToBMPFormatConverter.TGAToBMPConversionOutputStream
extends OutputStream


Field Summary
private  byte[] bitmapBits
           
private  byte[] bitmapFileHeader
           
private  byte[] bitmapInfoHeader
           
private  int height
           
private  OutputStream out
           
private  byte[] rgbquadColors
           
private  ByteArrayOutputStream tgaData
           
private  int width
           
 
Constructor Summary
TGAToBMPFormatConverter.TGAToBMPConversionOutputStream(OutputStream out, LodResource bitmapLodEntry)
           
 
Method Summary
 void close()
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private OutputStream out

width

private int width

height

private int height

tgaData

private ByteArrayOutputStream tgaData

bitmapFileHeader

private byte[] bitmapFileHeader

bitmapInfoHeader

private byte[] bitmapInfoHeader

rgbquadColors

private byte[] rgbquadColors

bitmapBits

private byte[] bitmapBits
Constructor Detail

TGAToBMPFormatConverter.TGAToBMPConversionOutputStream

public TGAToBMPFormatConverter.TGAToBMPConversionOutputStream(OutputStream out,
                                                              LodResource bitmapLodEntry)
                                                       throws IOException
Method Detail

close

public void close()
           throws IOException
Throws:
IOException

write

public void write(int b)
           throws IOException
Throws:
IOException