de.grogra.util
Class PPMReader

java.lang.Object
  extended by de.grogra.util.PPMReader

public class PPMReader
extends java.lang.Object


Field Summary
static MimeType MIME_TYPE
           
 
Constructor Summary
PPMReader(java.io.InputStream input, int minLines)
           
 
Method Summary
static java.lang.String getDescription()
           
 java.awt.image.BufferedImage read()
           
protected  void readBytes(javax.imageio.stream.IIOByteBuffer buf, int len)
           
protected  void scanlinesRead(int minY, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIME_TYPE

public static final MimeType MIME_TYPE
Constructor Detail

PPMReader

public PPMReader(java.io.InputStream input,
                 int minLines)
Method Detail

getDescription

public static java.lang.String getDescription()

read

public java.awt.image.BufferedImage read()
                                  throws java.io.IOException
Throws:
java.io.IOException

readBytes

protected void readBytes(javax.imageio.stream.IIOByteBuffer buf,
                         int len)
                  throws java.io.IOException
Throws:
java.io.IOException

scanlinesRead

protected void scanlinesRead(int minY,
                             int height)