|
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 IApplicationDescriptor
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.
| Method Summary | |
|---|---|
void |
addMidletDefinition(IMidletDefinition midletDefinition)
Add a new MidletDefinition instance. |
Version |
getConfigurationSpecificationVersion()
Return the configuration specification version associated with this JAD file. |
Properties |
getManifestProperties()
Return the overall manifest properties. |
int |
getMidletCount()
Return the current count of MidletDefinition instances within this application descriptor. |
List<IMidletDefinition> |
getMidletDefinitions()
Return the list of MidletDefinition instances currently managed by the ApplicationDescriptor. |
String |
getMidletJarURL()
Return the JAD URL specified in the application descriptor or null if it has not been specified. |
void |
store()
Store the ApplicationDescriptor instance into the same File from which it was originally read. |
void |
store(File jadFile)
Store the ApplicationDescriptor instance into the specified file. |
| Method Detail |
|---|
void addMidletDefinition(IMidletDefinition midletDefinition)
midletDefinition - the MIDlet definition to be added
Version getConfigurationSpecificationVersion()
throws CoreException
CoreExceptionProperties getManifestProperties()
int getMidletCount()
List<IMidletDefinition> getMidletDefinitions()
String getMidletJarURL()
null if it has not been specified. This method does not
check the validity of the value.
void store()
throws IOException
IOException - when an error occurs while storing the descriptor
void store(File jadFile)
throws IOException
jadFile - the file into which the descriptor will be written
IOException - when an error occurs while storing the descriptor
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||