|
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 IMidletSuiteProject
This interface represents an specialization of an IMTJProject
to
represent a MIDlet suite project.
Features of MTJ projects include:
Field Summary | |
---|---|
static String |
APPLICATION_DESCRIPTOR_NAME
The project's application descriptor file name. |
Method Summary | |
---|---|
IApplicationDescriptor |
getApplicationDescriptor()
Return an ApplicationDescriptor instance wrapped around the Application Descriptor (JAD) file for this MIDlet suite. |
IFile |
getApplicationDescriptorFile()
Return the IFile instance of the Application Descriptor (JAD)
file for this MIDlet suite. |
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. |
String |
getJarFilename()
Return the name to use for the deployable JAR file. |
String |
getTempKeyPassword()
Get the temporary password for a key in the keystore. |
String |
getTempKeystorePassword()
Get the temporary password for the keystore. |
IFolder |
getVerifiedClassesOutputFolder(IProgressMonitor monitor)
Get the IFolder into which verified classes should be written. |
IFolder |
getVerifiedLibrariesOutputFolder(IProgressMonitor monitor)
Get the IFolder into which verified libraries should be written. |
IFolder |
getVerifiedOutputFolder(IProgressMonitor monitor)
Get the IFolder into which verified classes should be written. |
IPreverificationError[] |
preverify(IResource[] toVerify,
IFolder outputFolder,
IProgressMonitor monitor)
Preverify the specified resources. |
IPreverificationError[] |
preverifyJarFile(File jarFile,
IFolder outputFolder,
IProgressMonitor monitor)
Launch the preverification process on the specified jar file. |
void |
setJadFileName(String jadFileName)
Set the name that must be used on the project's jad file after deployment as specified in the project's metadata file. |
void |
setTempKeyPassword(String pass)
Get the temporary password for a key in the keystore. |
void |
setTempKeystorePassword(String pass)
Get the temporary password for the keystore. |
Methods inherited from interface org.eclipse.mtj.core.project.IMTJProject |
---|
addMTJProjectListener, createPackage, getJavaProject, getProject, getRuntimeList, getSignatureProperties, refreshClasspath, removeMTJProjectListener, saveMetaData, setSignatureProperties |
Field Detail |
---|
static final String APPLICATION_DESCRIPTOR_NAME
Method Detail |
---|
IApplicationDescriptor getApplicationDescriptor()
IFile getApplicationDescriptorFile()
IFile
instance of the Application Descriptor (JAD)
file for this MIDlet suite.
String getJadFileName()
String getJarFilename()
String getTempKeyPassword()
String getTempKeystorePassword()
IFolder getVerifiedClassesOutputFolder(IProgressMonitor monitor)
monitor
- a progress monitor, or null
if progress
reporting is not desired.
IFolder getVerifiedLibrariesOutputFolder(IProgressMonitor monitor)
monitor
- a progress monitor, or null
if progress
reporting is not desired.
IFolder getVerifiedOutputFolder(IProgressMonitor monitor)
monitor
- a progress monitor, or null
if progress
reporting is not desired.
IPreverificationError[] preverify(IResource[] toVerify, IFolder outputFolder, IProgressMonitor monitor) throws CoreException, PreverifierNotFoundException
toVerify
- the resources to be preverifiedoutputFolder
- the folder into which the output will be writtenmonitor
- a progress monitor, or null
if progress
reporting is not desired.
CoreException
- if this method fails. Reasons include:
PreverifierNotFoundException
- a default preverifier was not
specified.IPreverificationError[] preverifyJarFile(File jarFile, IFolder outputFolder, IProgressMonitor monitor) throws CoreException, PreverifierNotFoundException
jarFile
- The jar file to be preverified.outputFolder
- The folder into which the output is to be placed.monitor
- a progress monitor, or null
if progress
reporting is not desired.
CoreException
- if this method fails. Reasons include:
.jar
file could not be expanded.PreverifierNotFoundException
- a default preverifier was not
specified.void setJadFileName(String jadFileName)
jadFileName
- the deployable jad file name.void setTempKeyPassword(String pass)
pass
- temporary password for a key in the keystore.void setTempKeystorePassword(String pass)
pass
- temporary password for the keystore.
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |