de.grogra.util
Class PPMReader
java.lang.Object
de.grogra.util.PPMReader
public class PPMReader
- extends java.lang.Object
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 |
MIME_TYPE
public static final MimeType MIME_TYPE
PPMReader
public PPMReader(java.io.InputStream input,
int minLines)
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)