FileDocCategorySizeDatePackage
AutoGetInstallerTunnel.javaAPI DocphoneME MR2 API (J2ME)1904Wed May 02 18:00:08 BST 2007com.sun.midp.installer

AutoGetInstallerTunnel

public final class AutoGetInstallerTunnel extends Object
Tunnel class to make Installer.getInstaller() accessible outside its package

Fields Summary
Constructors Summary
private AutoGetInstallerTunnel()
Private constructor

    
Methods Summary
public static InstallergetInstaller(java.lang.String url)
Get an instance of an Installer. If the SecureInstaller class is available then it will be returned else a basic Installer will be returned.

param
url url from where the new suite should be installed
return
an Installer instance

        // IMPL_NOTE: File/HttpInstaller() should be returned depending
        // on the url scheme.
        return new HttpInstaller();