|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.core.model.Classpath
public class Classpath
A representation of a classpath that can be converted to various other representations.
| Constructor Summary | |
|---|---|
Classpath()
Construct a new classpath instance |
|
| Method Summary | |
|---|---|
void |
addEntry(ILibrary pathEntry)
Add a new classpath entry. |
IClasspathEntry[] |
asClasspathEntries()
Return the classpath as a set of Eclipse JDT classpath entries. |
File[] |
asFileArray()
Return the classpath as an array of the file entries in the classpath. |
File[] |
asSkeletonFileArray()
Return the libraries as skeleton API files. |
URL[] |
asSkeletonURLArray()
Return the libraries with skeleton API file URLs where possible. |
URL[] |
asURLArray()
Return the classpath as an array of URL's. |
boolean |
equals(Classpath classpath)
Test the equality of this class with another classpath. |
boolean |
equals(Object obj)
|
ILibrary[] |
getEntries()
Return the entries in the classpath. |
int |
hashCode()
|
void |
loadUsing(IPersistenceProvider persistenceProvider)
Load the state of this object using the specified persistence state information. |
void |
removeEntry(ILibrary library)
Remove the specified library from the classpath, if it is in the classpath. |
void |
storeUsing(IPersistenceProvider persistenceProvider)
Save the state of this object using the specified persistence state information. |
String |
toString()
Converts the classpath to a classpath string with platform-dependent path separator characters. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Classpath()
| Method Detail |
|---|
public void addEntry(ILibrary pathEntry)
pathEntry - public IClasspathEntry[] asClasspathEntries()
public File[] asFileArray()
public File[] asSkeletonFileArray()
public URL[] asSkeletonURLArray()
public URL[] asURLArray()
public boolean equals(Classpath classpath)
classpath -
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public ILibrary[] getEntries()
public int hashCode()
hashCode in class ObjectObject.hashCode()
public void loadUsing(IPersistenceProvider persistenceProvider)
throws PersistenceException
IPersistable
loadUsing in interface IPersistablepersistenceProvider -
PersistenceExceptionpublic void removeEntry(ILibrary library)
library -
public void storeUsing(IPersistenceProvider persistenceProvider)
throws PersistenceException
IPersistable
storeUsing in interface IPersistablePersistenceExceptionIPersistable.storeUsing(org.eclipse.mtj.core.persistence.IPersistenceProvider)public String toString()
toString in class ObjectObject.toString()
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||