FileDocCategorySizeDatePackage
InstallState.javaAPI DocJ2ME MIDP 2.02136Thu Nov 07 12:02:24 GMT 2002com.sun.midp.midletsuite

InstallState

public interface InstallState
Holds the state of an installation, so it can restarted after it has been stopped.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetAppProperty(java.lang.String key)
Gets a property of the application to be installed. First from the JAD, then if not found, the JAR manifest.

param
key key of the property
return
value of the property or null if not found

public intgetJarSize()
Gets the expected size of the JAR.

return
size of the JAR in K bytes

public java.lang.StringgetJarUrl()
Gets the URL of the JAR.

return
URL of the JAR

public InvalidJadExceptiongetLastException()
Gets the last recoverable exception that stopped the install. Non-recoverable exceptions are thrown and not saved in the state.

return
last exception that stopped the install

public java.lang.StringgetStorageName()
Gets the unique name that the installed suite was stored with.

return
storage name that can be used to load the suite

public voidsetPassword(java.lang.String thePassword)
Sets the password to be used for HTTP authentication.

param
thePassword 8 bit password

public voidsetProxyPassword(java.lang.String thePassword)
Sets the password to be used for HTTP proxy authentication.

param
thePassword 8 bit password

public voidsetProxyUsername(java.lang.String theUsername)
Sets the username to be used for HTTP proxy authentication.

param
theUsername 8 bit username, cannot contain a ":"

public voidsetUsername(java.lang.String theUsername)
Sets the username to be used for HTTP authentication.

param
theUsername 8 bit username, cannot contain a ":"