org.eclipse.core.runtime.internal.adaptor
Class ClasspathManifest

java.lang.Object
  extended by org.eclipse.core.runtime.internal.adaptor.ClasspathManifest
All Implemented Interfaces:
KeyedElement

public class ClasspathManifest
extends java.lang.Object
implements KeyedElement


Field Summary
static int HASHCODE
           
static java.lang.Object KEY
           
 
Constructor Summary
ClasspathManifest()
           
 
Method Summary
 boolean compare(KeyedElement other)
          Compares this element with a specified element
 java.lang.Object getKey()
          Returns the key for this element
 int getKeyHashCode()
          Returns the hash code of the key
 java.util.jar.Manifest getManifest(ClasspathEntry cpEntry, ClasspathManager loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final java.lang.Object KEY

HASHCODE

public static final int HASHCODE
Constructor Detail

ClasspathManifest

public ClasspathManifest()
Method Detail

getKeyHashCode

public int getKeyHashCode()
Description copied from interface: KeyedElement
Returns the hash code of the key

Specified by:
getKeyHashCode in interface KeyedElement
Returns:
the hash code of the key

compare

public boolean compare(KeyedElement other)
Description copied from interface: KeyedElement
Compares this element with a specified element

Specified by:
compare in interface KeyedElement
Parameters:
other - the element to compare with
Returns:
returns true if the specified element equals this element

getKey

public java.lang.Object getKey()
Description copied from interface: KeyedElement
Returns the key for this element

Specified by:
getKey in interface KeyedElement
Returns:
the key for this element

getManifest

public java.util.jar.Manifest getManifest(ClasspathEntry cpEntry,
                                          ClasspathManager loader)