FileDocCategorySizeDatePackage
AutoSuiteDescriptor.javaAPI DocphoneME MR2 API (J2ME)2581Wed May 02 18:00:08 BST 2007com.sun.midp.automation

AutoSuiteDescriptor

public abstract class AutoSuiteDescriptor extends Object
Represents MIDlets suite.

Fields Summary
Constructors Summary
Methods Summary
public abstract AutoMIDletDescriptorgetInitialMIDlet()
Gets MIDlet which should be started by default for this suite, if any.

return
AutoMIDletDescriptor representing default MIDlet

public static final com.sun.midp.automation.AutoSuiteDescriptorgetInternalSuite(java.lang.String className)
Gets descriptor of internal suite

param
className suite's MIDlet class name
return
internal suite descriptor

        return AutoSuiteDescriptorImpl.getInstanceByClassName(className);
    
public abstract java.util.VectorgetSuiteMIDlets()
Gets suite's MIDlets.

return
vector of AutoMIDletDescriptor objects representing suite's MIDlets, null if there is no default MIDlet for this suite

public abstract java.lang.StringgetSuiteName()
Gets name of the suite.

return
name of the suite as specified in jar/jad

public abstract AutoMIDletstart(java.lang.String[] args)
Starts this suite's initial MIDlet.

param
args MIDlet's arguments
return
AutoMIDlet representing started MIDlet
throws
RuntimeException if MIDlet couldn't be started