Class PamFileInfo.ColorTupleReader
- java.lang.Object
-
- org.apache.commons.imaging.formats.pnm.PamFileInfo.TupleReader
-
- org.apache.commons.imaging.formats.pnm.PamFileInfo.ColorTupleReader
-
- Enclosing class:
- PamFileInfo
private class PamFileInfo.ColorTupleReader extends PamFileInfo.TupleReader
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ColorTupleReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageInfo.ColorType
getColorType()
int
getRGB(java.io.InputStream is)
-
-
-
Method Detail
-
getColorType
public ImageInfo.ColorType getColorType()
- Specified by:
getColorType
in classPamFileInfo.TupleReader
-
getRGB
public int getRGB(java.io.InputStream is) throws java.io.IOException
- Specified by:
getRGB
in classPamFileInfo.TupleReader
- Throws:
java.io.IOException
-
-