public abstract class FileInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected boolean |
RAWBITS |
protected int |
width |
Constructor and Description |
---|
FileInfo(int width,
int height,
boolean RAWBITS) |
Modifier and Type | Method and Description |
---|---|
void |
dump() |
abstract int |
getBitDepth() |
abstract int |
getColorType() |
abstract ImageFormat |
getImageType() |
abstract String |
getImageTypeDescription() |
abstract String |
getMIMEType() |
abstract int |
getNumComponents() |
abstract int |
getRGB(InputStream is) |
abstract int |
getRGB(org.apache.sanselan.formats.pnm.WhiteSpaceReader wsr) |
protected void |
newline() |
void |
readImage(BufferedImage bi,
InputStream is) |
protected final int width
protected final int height
protected final boolean RAWBITS
public abstract int getNumComponents()
public abstract int getBitDepth()
public abstract ImageFormat getImageType()
public abstract String getImageTypeDescription()
public abstract String getMIMEType()
public abstract int getColorType()
public abstract int getRGB(org.apache.sanselan.formats.pnm.WhiteSpaceReader wsr) throws IOException
IOException
public abstract int getRGB(InputStream is) throws IOException
IOException
protected void newline()
public void readImage(BufferedImage bi, InputStream is) throws IOException
IOException
public void dump()
Copyright © 2007-2012. All Rights Reserved.