|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IDeviceClasspath
This interface represents the classpath that is associated to one specific device.
The classpath has a list of ILibrary and each ILibrary is associated to a set of APIs. Based on that is is possible to identify all APIs thats are support on each device.
Clients may create new IDeviceeClasspath instances through the
MTJCore.createNewDeviceClasspath() method.
ILibrary,
IAPI| Field Summary |
|---|
| Fields inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
|---|
CLASS_PERSISTABLE_ATTRIBUTE, ID_PERSISTABLE_ATTRIBUTE, KEY_PERSISTABLE_ATTRIBUTE, PROPERTY_PERSISTABLE_ELEMENT, REFID_PERSISTABLE_ATTRIBUTE, VALUE_PERSISTABLE_ATTRIBUTE |
| Method Summary | |
|---|---|
void |
addEntry(ILibrary classpathEntry)
Add a new ILibrary to the device classpath. |
List<IClasspathEntry> |
asClasspathEntries()
Return the device classpath as a list of IClasspathEntry entries. |
boolean |
equals(IDeviceClasspath deviceClasspath)
Test the equality of this class with another deviceClasspath. |
boolean |
equals(Object obj)
|
List<ILibrary> |
getEntries()
Return the list of ILibrary entries in the device classpath. |
int |
hashCode()
|
void |
removeEntry(ILibrary library)
Removes a single instance of the specified ILibrary element from this list, if it is present. |
String |
toString()
Converts the device classpath to a string with platform-dependent path separator characters. |
| Methods inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
|---|
loadUsing, storeUsing |
| Method Detail |
|---|
void addEntry(ILibrary classpathEntry)
classpathEntry - the ILibrary to be included in the classpath.List<IClasspathEntry> asClasspathEntries()
IClasspathEntry entries.
IClasspathEntry
entries.boolean equals(IDeviceClasspath deviceClasspath)
deviceClasspath - the reference IDeviceClasspath object with which
to compare.
true if this IDeviceClasspath object is the same as
the deviceClasspath argument; false otherwise.boolean equals(Object obj)
equals in class ObjectList<ILibrary> getEntries()
int hashCode()
hashCode in class Objectvoid removeEntry(ILibrary library)
library - ILibrary element to be removed from this list, if present.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 | ||||||||||