org.lee.mugen.imageIO
Class PCXLoader

java.lang.Object
  extended by org.lee.mugen.imageIO.PCXLoader

public class PCXLoader
extends java.lang.Object


Field Summary
static int HEADER_SIZE
           
 
Constructor Summary
PCXLoader()
           
 
Method Summary
static java.awt.Image loadImage(java.io.InputStream file, PCXPalette pal, boolean isPalUse, boolean isUseColorKey)
          Creates new PCXLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEADER_SIZE

public static final int HEADER_SIZE
See Also:
Constant Field Values
Constructor Detail

PCXLoader

public PCXLoader()
Method Detail

loadImage

public static java.awt.Image loadImage(java.io.InputStream file,
                                       PCXPalette pal,
                                       boolean isPalUse,
                                       boolean isUseColorKey)
                                throws java.io.IOException
Creates new PCXLoader

Parameters:
file - The input stream to load the PCX from
Throws:
java.io.IOException