|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecteclipseme.core.model.ApplicationDescriptor
This class is a representation of a Java Application Descriptor (jad) for a Midlet Suite.
Note: This class/interface is part of an interim API that is still under development and expected to change before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken as the API evolves.
Copyright (c) 2004 Craig Setera
| Nested Class Summary | |
static class |
ApplicationDescriptor.MidletDefinition
The definition of a Midlet within the application descriptor. |
| Field Summary | |
static java.lang.String |
MIDLET_PREFIX
The prefix of all midlet definition properties |
| Constructor Summary | |
ApplicationDescriptor(java.io.File jadFile)
Construct a new ApplicationDescriptor instance based on the data in the specified file. |
|
| Method Summary | |
void |
addMidletDefinition(ApplicationDescriptor.MidletDefinition midletDefinition)
Add a new MidletDefinition instance. |
eclipseme.core.internal.utils.ColonDelimitedProperties |
getManifestProperties()
Return the overall manifest properties. |
int |
getMidletCount()
Return the current count of MidletDefinition instances within this application descriptor. |
java.util.List |
getMidletDefinitions()
Return the list of MidletDefinition instances currently managed by the ApplicationDescriptor. |
void |
store()
Store the ApplicationDescriptor instance into the same File from which it was originally read. |
void |
store(java.io.File jadFile)
Store the ApplicationDescriptor instance into the specified file. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String MIDLET_PREFIX
| Constructor Detail |
public ApplicationDescriptor(java.io.File jadFile)
throws java.io.IOException
jadFile - The file in which the descriptor is being held.
java.io.IOException - when an error occurs reading the file| Method Detail |
public void addMidletDefinition(ApplicationDescriptor.MidletDefinition midletDefinition)
midletDefinition - the midlet definition to be addedpublic java.util.List getMidletDefinitions()
public eclipseme.core.internal.utils.ColonDelimitedProperties getManifestProperties()
public int getMidletCount()
public void store()
throws java.io.IOException
java.io.IOException - when an error occurs while storing the descriptor
public void store(java.io.File jadFile)
throws java.io.IOException
jadFile - the file into which the descriptor will be written
java.io.IOException - when an error occurs while storing the descriptor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||