| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectj2d.io.ppm.Decoders.ImageDecoder
j2d.io.ppm.Decoders.PpmDecoder
public class PpmDecoder
| Constructor Summary | |
|---|---|
| PpmDecoder(java.io.InputStream in) | |
| Method Summary | |
|---|---|
|  int | getHeight() | 
|  int | getWidth() | 
|  void | readHeader(java.io.InputStream in) | 
|  void | readRow(java.io.InputStream in,
        int row,
        int[] rgbRow) | 
| Methods inherited from class j2d.io.ppm.Decoders.ImageDecoder | 
|---|
| addConsumer, isConsumer, removeConsumer, requestTopDownLeftRightResend, startProduction | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PpmDecoder(java.io.InputStream in)
| Method Detail | 
|---|
public void readHeader(java.io.InputStream in)
                throws java.io.IOException
java.io.IOExceptionpublic int getWidth()
public int getHeight()
public void readRow(java.io.InputStream in,
                    int row,
                    int[] rgbRow)
             throws java.io.IOException
java.io.IOException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||