org.apache.sanselan.formats.pnm
Class PBMFileInfo
java.lang.Object
org.apache.sanselan.formats.pnm.FileInfo
org.apache.sanselan.formats.pnm.PBMFileInfo
public class PBMFileInfo
- extends FileInfo
Constructor Summary |
PBMFileInfo(int width,
int height,
boolean RAWBITS)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBMFileInfo
public PBMFileInfo(int width,
int height,
boolean RAWBITS)
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
getColorType
public int getColorType()
- Specified by:
getColorType
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
newline
protected void newline()
- Overrides:
newline
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.