Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.sdk.device
Interface IDeviceClasspath

All Superinterfaces:
IPersistable

public interface IDeviceClasspath
extends IPersistable

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.

Since:
1.0
See Also:
ILibrary, IAPI
Restriction:
This interface is not intended to be implemented by clients.

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

addEntry

void addEntry(
ILibrary classpathEntry)
Add a new ILibrary to the device classpath.

Parameters:
classpathEntry - the ILibrary to be included in the classpath.

asClasspathEntries


List<IClasspathEntry> asClasspathEntries()
Return the device classpath as a list of IClasspathEntry entries.

Returns:
the device classpath as a list of IClasspathEntry entries.

equals

boolean equals(
IDeviceClasspath deviceClasspath)
Test the equality of this class with another deviceClasspath.

Parameters:
deviceClasspath - the reference IDeviceClasspath object with which to compare.
Returns:
true if this IDeviceClasspath object is the same as the deviceClasspath argument; false otherwise.

equals

boolean equals(
Object obj)
Overrides:
equals in class Object

getEntries


List<
ILibrary> getEntries()
Return the list of ILibrary entries in the device classpath.

Returns:
the list of ILibrary entries in the device classpath.

hashCode

int hashCode()
Overrides:
hashCode in class Object

removeEntry

void removeEntry(
ILibrary library)
Removes a single instance of the specified ILibrary element from this list, if it is present.

Parameters:
library - ILibrary element to be removed from this list, if present.

toString


String toString()
Converts the device classpath to a string with platform-dependent path separator characters.

Overrides:
toString in class Object
See Also:
Object.toString()

Mobile Tools for Java
Release 1.0


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire