All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class VS.ReadPPM

java.lang.Object
   |
   +----VS.ReadPPM

public class ReadPPM
extends java.lang.Object

Variable Index

 o bits
 o bitshift
 o height
 o PPM_RAW
 o type
 o width

Constructor Index

 o ReadPPM()

Method Index

 o DoIt(String)
 o getImage(BufferedInputStream)
 o makeRgb(int, int, int)
 o readBit(InputStream)
 o readByte(InputStream)
 o readChar(InputStream)
 o readHeader(InputStream)
 o readInt(InputStream)
 o readNonwhiteChar(InputStream)

Variables

 o width
 public static int width
 o height
 public static int height
 o type
 private int type
 o PPM_RAW
 private static final int PPM_RAW
 o bitshift
 private int bitshift
 o bits
 private int bits

Constructors

 o ReadPPM
 public ReadPPM()

Methods

 o DoIt
 public static int[] DoIt(java.lang.String fname) throws java.lang.Exception
 o getImage
 public int[] getImage(java.io.BufferedInputStream in)
 o readHeader
 void readHeader(java.io.InputStream in) throws java.io.IOException
 o readByte
 private static int readByte(java.io.InputStream in) throws java.io.IOException
 o readBit
 private boolean readBit(java.io.InputStream in) throws java.io.IOException
 o readChar
 private static char readChar(java.io.InputStream in) throws java.io.IOException
 o readNonwhiteChar
 private static char readNonwhiteChar(java.io.InputStream in) throws java.io.IOException
 o readInt
 private static int readInt(java.io.InputStream in) throws java.io.IOException
 o makeRgb
 private static int makeRgb(int r,
                            int g,
                            int b)

All Packages  Class Hierarchy  This Package  Previous  Next  Index