|
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 ILibrary
Represents a library in the device's classpath. A library is capable of providing further metadata about that specified jar file.
| Method Summary | |
|---|---|
API |
getAPI(APIType apiType)
Return the first API with a type matching the specified API type or null if none can be found. |
API[] |
getAPIs()
Return the APIs associated with this library instance. |
API |
getConfiguration()
Return the configuration API or null if this library does
not provide a configuration. |
API |
getProfile()
Return the profile API or null if this library does not
provide a configuration. |
boolean |
hasConfiguration()
Return a boolean indicating whether this library contains a configuration. |
boolean |
hasProfile()
Return a boolean indicating whether this library contains a profile. |
IClasspathEntry |
toClasspathEntry()
Return the library as an instance of IClasspathEntry. |
File |
toFile()
Return the library as an instance of java.io.File. |
URL |
toURL()
Return the library as an instance of java.net.URL. |
| Methods inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
|---|
loadUsing, storeUsing |
| Method Detail |
|---|
API[] getAPIs()
API getAPI(APIType apiType)
null if none can be found.
apiType -
API getConfiguration()
null if this library does
not provide a configuration.
API getProfile()
null if this library does not
provide a configuration.
boolean hasConfiguration()
boolean hasProfile()
IClasspathEntry toClasspathEntry()
File toFile()
URL toURL()
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||