org.apache.sanselan.formats.pnm
Class PGMFileInfo
java.lang.Object
org.apache.sanselan.formats.pnm.FileInfo
org.apache.sanselan.formats.pnm.PGMFileInfo
public class PGMFileInfo
- extends FileInfo
Constructor Summary |
PGMFileInfo(int width,
int height,
boolean RAWBITS,
int max)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PGMFileInfo
public PGMFileInfo(int width,
int height,
boolean RAWBITS,
int max)
getNumComponents
public int getNumComponents()
- Specified by:
getNumComponents
in class FileInfo
getBitDepth
public int getBitDepth()
- Specified by:
getBitDepth
in class FileInfo
getImageType
public ImageFormat getImageType()
- Specified by:
getImageType
in class FileInfo
getImageTypeDescription
public java.lang.String getImageTypeDescription()
- Specified by:
getImageTypeDescription
in class FileInfo
getMIMEType
public java.lang.String getMIMEType()
- Specified by:
getMIMEType
in class FileInfo
getColorType
public int getColorType()
- Specified by:
getColorType
in class FileInfo
getRGB
public int getRGB(java.io.InputStream is)
throws java.io.IOException
- Specified by:
getRGB
in class FileInfo
- Throws:
java.io.IOException
getRGB
public int getRGB(org.apache.sanselan.formats.pnm.WhiteSpaceReader wsr)
throws java.io.IOException
- Specified by:
getRGB
in class FileInfo
- Throws:
java.io.IOException
Copyright © 2007-2009. All Rights Reserved.