fr.pixware.apt.convert.rtf
Class PBMReader
java.lang.Object
fr.pixware.apt.convert.rtf.PBMReader
- public class PBMReader
- extends java.lang.Object
Constructor Summary |
PBMReader(java.lang.String fileName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_PBM
public static final int TYPE_PBM
- See Also:
- Constant Field Values
TYPE_PGM
public static final int TYPE_PGM
- See Also:
- Constant Field Values
TYPE_PPM
public static final int TYPE_PPM
- See Also:
- Constant Field Values
PBMReader
public PBMReader(java.lang.String fileName)
throws java.lang.Exception
type
public int type()
width
public int width()
height
public int height()
maxValue
public int maxValue()
bytesPerLine
public int bytesPerLine()
skip
public long skip(long count)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception