|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.core.model.project.MetaData
public class MetaData
This class holds the metadata for the MIDlet suite project. This information is persisted to a file called ".mtj" in the project's root directory.
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.
| Field Summary | |
|---|---|
static String |
METADATA_FILE
The metadata file name for the MIDlet project |
| Constructor Summary | |
|---|---|
MetaData(IProject project)
Construct a new metadata object for the MIDlet suite project. |
|
| Method Summary | |
|---|---|
Configurations |
getConfigurations()
|
IDevice |
getDevice()
Return the device stored in the project metadata. |
String |
getJadFileName()
Return the name that must be used on the project's jad file after deployment as specified in the project's metadata file. |
ISignatureProperties |
getSignatureProperties()
|
Version |
getVersion()
|
void |
saveMetaData()
Attempt to save the metadata. |
void |
saveMetaDataToFile(IFile storeFile)
Save the metadata to the storage file. |
void |
setConfigurations(Configurations configurations)
|
void |
setDevice(IDevice device)
Set the device stored in the project metadata. |
void |
setJadFileName(String jadFileName)
Set the name that must be used on the project's jad file after deployment |
void |
setSignatureProperties(ISignatureProperties p)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String METADATA_FILE
| Constructor Detail |
|---|
public MetaData(IProject project)
suite - | Method Detail |
|---|
public Configurations getConfigurations()
public IDevice getDevice()
public String getJadFileName()
public ISignatureProperties getSignatureProperties()
throws CoreException
CoreExceptionpublic Version getVersion()
public void saveMetaData()
throws CoreException
CoreException
public void saveMetaDataToFile(IFile storeFile)
throws CoreException
storeFile -
CoreExceptionpublic void setConfigurations(Configurations configurations)
public void setDevice(IDevice device)
device - public void setJadFileName(String jadFileName)
jadFileName - the jad file namepublic void setSignatureProperties(ISignatureProperties p)
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||