public class RuntimeClasspathEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
RCE_ARCHIVE
the constant for a Archive-RuntimeClasspathEntry
|
static int |
RCE_CONTAINER
the constant for a Container-RuntimeClasspathEntry
|
static int |
RCE_OTHER
the constant for a Archive-RuntimeClasspathEntry
|
static int |
RCE_PROJECT
the constant for a EclipseProject-RuntimeClasspathEntry
|
static int |
RCE_VARIABLE
the constant for a Variable-RuntimeClasspathEntry
|
static int |
RCE_VARIABLESTRING
the constant for a StringVariable classpath type
|
Constructor and Description |
---|
RuntimeClasspathEntry(java.lang.String path,
int type)
Creates a new instance of type RuntimeClasspathEntry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getPath()
Returns the path of this entry.
|
int |
getType()
Returns the type of this entry.
|
static java.lang.String |
getTypeStr(int type)
Returns the string representation of the specified RuntimeClasspathEntry
type.
|
int |
hashCode() |
java.lang.String |
toString() |
public static final int RCE_PROJECT
public static final int RCE_ARCHIVE
public static final int RCE_VARIABLE
public static final int RCE_CONTAINER
public static final int RCE_OTHER
public static final int RCE_VARIABLESTRING
public RuntimeClasspathEntry(java.lang.String path, int type)
path
- the path of this entry.type
- the type of this entry.public java.lang.String getPath()
public int getType()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static java.lang.String getTypeStr(int type)
type
- the type.