FileDocCategorySizeDatePackage
InstallState.javaAPI DocphoneME MR2 API (J2ME)3359Wed May 02 18:00:04 BST 2007com.sun.midp.installer

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 java.lang.String[]getAuthPath()
Gets the authoriztion path of this suite. The path starts with the most trusted CA that authorized this suite.

return
array of CA names or null if the suite was not signed

public intgetID()
Gets the unique name that the installed suite was stored with.

return
storage name that can be used to load the suite

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.StringgetSuiteName()
Gets the label for the downloaded JAR.

return
suite name

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 ":"