|
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 that is associated to a device. The library is directly
related to a JAR file and also to a list of IAPI
's.
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 | |
---|---|
List<IAccessRule> |
getAccessRules()
Returns the possibly empty list of access rules for this library. |
List<? extends IAPI> |
getAPIs()
Return the APIs associated with this library instance. |
IPath |
getSourceAttachmentPath()
Returns the path to the source archive or folder associated with this library, or null if this classpath entry has no source
attachment. |
IPath |
getSourceAttachmentRootPath()
Returns the path within the source archive or folder where package fragments are located. |
void |
setAccessRules(List<IAccessRule> accessRules)
Set the list of access rules for this library. |
void |
setApis(List<? extends IAPI> apis)
Set the APIs associated with this library instance. |
void |
setJavadocURL(URL javadocURL)
Set the URL containing the path to the javadoc describing this library. |
void |
setLibraryFile(File libraryFile)
Sets the jar file represented by this library. |
void |
setSourceAttachmentPath(IPath sourceAttachmentPath)
Set the path to the source archive or folder associated with this Library. |
void |
setSourceAttachmentRootPath(IPath sourceAttachmentRootPath)
Set the path within the source archive or folder where package fragments are located. |
IClasspathEntry |
toClasspathEntry()
Return the library as an instance of IClasspathEntry. |
File |
toFile()
Return the jar file represented by this library. |
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 |
---|
List<? extends IAPI> getAPIs()
null
if none was specified.void setAccessRules(List<IAccessRule> accessRules)
accessRules
- the list with all access rules for this library.void setApis(List<? extends IAPI> apis)
api
- the list of APIs to be associated with this library.void setJavadocURL(URL javadocURL)
javadocURL
- the URL containing the path to the javadoc describing
this library.void setLibraryFile(File libraryFile)
libraryFile
- the jar file represented by this library.void setSourceAttachmentPath(IPath sourceAttachmentPath)
sourceAttachmentPath
- the path to the source archive or foldervoid setSourceAttachmentRootPath(IPath sourceAttachmentRootPath)
sourceAttachmentRootPath
- the path within the source archive or
folder, or null
if not applicable.IClasspathEntry toClasspathEntry()
File toFile()
URL toURL()
IPath getSourceAttachmentPath()
null
if this classpath entry has no source
attachment.
null
if
noneIPath getSourceAttachmentRootPath()
null
if not applicableList<IAccessRule> getAccessRules()
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |