|
|
|
|
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.
Methods inherited from interface org.eclipse.mtj.core.sdk.device.
ILibrary
|
getAccessRules,
getAPIs,
getSourceAttachmentPath,
getSourceAttachmentRootPath,
setAccessRules,
setApis,
setJavadocURL,
setLibraryFile,
setSourceAttachmentPath,
setSourceAttachmentRootPath,
toClasspathEntry,
toFile,
toURL
|
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.
|
|
|