xmlgraphics-commons 2.0.1

org.apache.xmlgraphics.image.loader.cache
Class ImageKey

java.lang.Object
  extended by org.apache.xmlgraphics.image.loader.cache.ImageKey

public class ImageKey
extends Object

Key class for Image instances in the cache.


Constructor Summary
ImageKey(String uri, ImageFlavor flavor)
          Main constructor.
 
Method Summary
 boolean equals(Object obj)
          
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageKey

public ImageKey(String uri,
                ImageFlavor flavor)
Main constructor.

Parameters:
uri - the original URI
flavor - the image flavor
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object

xmlgraphics-commons 2.0.1

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.