|
xmlgraphics-commons 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.image.loader.impl.AbstractImage
public abstract class AbstractImage
Abstract base class for Image implementations.
| Constructor Summary | |
|---|---|
AbstractImage(ImageInfo info)
Main constructor |
|
| Method Summary | |
|---|---|
ColorSpace |
getColorSpace()
Returns the image's color space if the information is available. |
ICC_Profile |
getICCProfile()
Returns the ICC color profile if one is associated with the image. |
ImageInfo |
getInfo()
Returns an object with basic information (URI, MIME type, intrinsic size) about the image. |
ImageSize |
getSize()
Returns the image's intrinsic size. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.xmlgraphics.image.loader.Image |
|---|
getFlavor, isCacheable |
| Constructor Detail |
|---|
public AbstractImage(ImageInfo info)
info - the image info object associated with this image| Method Detail |
|---|
public ImageInfo getInfo()
getInfo in interface Imagepublic ImageSize getSize()
getSize in interface Imagepublic ColorSpace getColorSpace()
getColorSpace in interface Imagepublic ICC_Profile getICCProfile()
getICCProfile in interface Imagepublic String toString()
toString in class Object
|
xmlgraphics-commons 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||