FileDocCategorySizeDatePackage
CHManager.javaAPI DocphoneME MR2 API (J2ME)2278Wed May 02 18:00:04 BST 2007com.sun.midp.content

CHManager

public class CHManager extends Object
Stub interface to handle ContentHandlers functions. This version has no dependentcie to the CLDC AMS classes. It is needed by com.sun.midp.midletsuite.MIDletStorage. When MIDletStorage no longer reference this class, it can be removed.

Fields Summary
Constructors Summary
private CHManager()
Creates a new instance of CHManager.

    
Methods Summary
public static com.sun.midp.content.CHManagergetManager(com.sun.midp.security.SecurityToken token)
Get the Content Handler manager if the system is configured to implement content handlers. A dummy handler is returned if content handlers are not supported.

param
token the SecurityToken to get the CHManager
return
the CHInstaller instance to be used to handle management and installation of content handlers.
see
com.sun.midp.content.CHInstaller
exception
SecurityException if the token or suite is not allowed

        return new CHManager();
    
public voiduninstall(int suiteId)
Uninstall the Content handler specific information for the specified suiteId.

param
suiteId the suite ID