FileDocCategorySizeDatePackage
MIDletLoader.javaAPI DocphoneME MR2 API (J2ME)1902Wed May 02 18:00:06 BST 2007com.sun.midp.midlet

MIDletLoader

public interface MIDletLoader
Abstracts the way different VMs load MIDlets from a suite's JAR.

Fields Summary
Constructors Summary
Methods Summary
public MIDletnewInstance(MIDletSuite suite, java.lang.String className)
Loads a MIDlet from a suite's JAR.

param
suite reference to the suite
param
className class name of the MIDlet to be created
return
new instance of a MIDlet
exception
ClassNotFoundException if the MIDlet class is not found
exception
InstantiationException if the MIDlet cannot be created or is not subclass of MIDlet
exception
IllegalAccessException if the MIDlet is not permitted to perform a specific operation