|
xmlgraphics-commons 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.image.loader.pipeline.ImageRepresentation
public class ImageRepresentation
This class represents a combination of MIME type and an image flavor. It is used in conjunction with Dijkstra's algorithm to find and construct a conversion pipeline for images.
Constructor Summary | |
---|---|
ImageRepresentation(ImageFlavor flavor)
Main constructor |
Method Summary | |
---|---|
int |
compareTo(Object obj)
|
boolean |
equals(Object obj)
|
ImageFlavor |
getFlavor()
Returns the image flavor. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageRepresentation(ImageFlavor flavor)
flavor
- the image flavorMethod Detail |
---|
public ImageFlavor getFlavor()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(Object obj)
compareTo
in interface Comparable
public String toString()
toString
in class Object
|
xmlgraphics-commons 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |