Class PBMReader
java.lang.Object
org.apache.maven.doxia.module.rtf.PBMReader
PBM images reader.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
protected boolean
private int
protected int
protected int
private InputStream
protected int
(package private) static final int
(package private) static final int
(package private) static final int
private static final String
private static final String
private static final String
protected int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPE_PBM
static final int TYPE_PBM- See Also:
-
TYPE_PGM
static final int TYPE_PGM- See Also:
-
TYPE_PPM
static final int TYPE_PPM- See Also:
-
BAD_FILE_FORMAT
- See Also:
-
UNSUPPORTED_TYPE
- See Also:
-
UNSUPPORTED_FORMAT
- See Also:
-
UNSUPPORTED_DEPTH
- See Also:
-
type
protected int type -
binary
protected boolean binary -
width
protected int width -
height
protected int height -
maxValue
protected int maxValue -
bytesPerLine
private int bytesPerLine -
stream
-
-
Constructor Details
-
PBMReader
- Throws:
Exception
-
-
Method Details
-
type
int type() -
width
int width() -
height
int height() -
maxValue
int maxValue() -
bytesPerLine
int bytesPerLine() -
skip
- Throws:
IOException
-
read
- Throws:
IOException
-