org.eclipse.core.runtime.internal.adaptor
Class ClasspathManifest
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY
public static final java.lang.Object KEY
HASHCODE
public static final int HASHCODE
ClasspathManifest
public ClasspathManifest()
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)