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

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.midp
Interface IMIDPLibrary

All Superinterfaces:
ILibrary, IPersistable

public interface IMIDPLibrary
extends ILibrary

Represents a library available on IMIDPDevice's.

Since:
1.0
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
  IMIDPAPI getAPI ( MIDPAPIType apiType)
          Return the first IMIDPAPI instance that matches the specified API type.
  IMIDPAPI getConfiguration ()
          Return the IMIDPAPI instance that corresponds to a configuration.
  IMIDPAPI getProfile ()
          Return the IMIDPAPI instance that corresponds to a profile.
 boolean hasConfiguration ()
          Return a boolean indicating whether this library contains a configuration.
 boolean hasProfile ()
          Return a boolean indicating whether this library contains a profile.
 
Methods inherited from interface org.eclipse.mtj.core.sdk.device. ILibrary
getAccessRules, getAPIs, getSourceAttachmentPath, getSourceAttachmentRootPath, setAccessRules, setApis, setJavadocURL, setLibraryFile, setSourceAttachmentPath, setSourceAttachmentRootPath, toClasspathEntry, toFile, toURL
 
Methods inherited from interface org.eclipse.mtj.core.persistence. IPersistable
loadUsing, storeUsing
 

Method Detail

getAPI

IMIDPAPI getAPI(
MIDPAPIType apiType)
Return the first IMIDPAPI instance that matches the specified API type.

Parameters:
apiType - the type of API to be returned.
Returns:
the first IMIDPAPI instance that matches the specified API type or null if none can be found.

getConfiguration

IMIDPAPI getConfiguration()
Return the IMIDPAPI instance that corresponds to a configuration.

Returns:
the profile IMIDPAPI instance or null if this library does not provide a configuration.

getProfile

IMIDPAPI getProfile()
Return the IMIDPAPI instance that corresponds to a profile.

Returns:
the profile IMIDPAPI instance or null if this library does not provide a profile.

hasConfiguration

boolean hasConfiguration()
Return a boolean indicating whether this library contains a configuration.

Returns:
true if this library contains a configuration or false otherwise.

hasProfile

boolean hasProfile()
Return a boolean indicating whether this library contains a profile.

Returns:
true if this library contains a profile or false otherwise.

Mobile Tools for Java
Release 1.0


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