org.apache.xmlgraphics.image.loader.cache

## Class ImageKey

- java.lang.Object
- - org.apache.xmlgraphics.image.loader.cache.ImageKey

-     public class ImageKey
      extends Object

  Key class for Image instances in the cache.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ImageKey(String uri, ImageFlavor flavor)` Main constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

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