| java.lang.Object com.nokia.phone.deploy.Deployer
Deployer | public class Deployer (Code) | | Provides methods for deployment operations.
|
Constructor Summary | |
public | Deployer() Default constructor, opens the connection layer. |
Deployer | public Deployer()(Code) | | Default constructor, opens the connection layer.
|
closeConnectionLayer | public void closeConnectionLayer()(Code) | | Closes the platform connection layer using native method.
|
deploy | public boolean deploy(File jad, File jar, String terminal) throws IOException, UnsatisfiedLinkError(Code) | | Deploys the JAR and JAD files to the selected terminal.
Parameters: jad - JAD file to deploy Parameters: jar - JAR file to deploy Parameters: terminal - to deploy to, use the name you got from Deployer.getTerminals throws: IOException - if there is an error opening or reading the JAR or JAD file throws: UnsatisfiedLinkError - if ConnAPI.dll has not been loaded correctly. Either theDLL was not found or it was an old and incompatible version. boolean whether deployment was successful or not. See Also: Deployer.getTerminals |
deployToAllTerminals | public List<String> deployToAllTerminals(File jad, File jar)(Code) | | Deploys the JAR and JAD files to all connected terminals.
Parameters: jad - JAD file to deploy Parameters: jar - JAR file to deploy boolean whether deployment was successful or not. See Also: Deployer.getTerminals |
getConnectionType | public String getConnectionType(String terminal)(Code) | | Returns the connection type of a particular terminal connected to the
computer.
Parameters: terminal - name of the terminal, complete with session ID connection type ("RS232", "IrDA", "USB" or "Bluetooth") of theterminal |
getTerminals | public List<String> getTerminals()(Code) | | Returns the terminals that are currently connected to the computer. The
name includes an ID number for the session to identify them from each
other.
terminal names as a String array, if no terminals are connected,returns a zero-length String array. |
isConnected | public boolean isConnected()(Code) | | Returns the current connection status.
true if connection to service layer is open, otherwise false |
isOSSupportsDeployment | public boolean isOSSupportsDeployment()(Code) | | Returns whether deployment is supported on the current OS or not.
boolean deployment support status. |
isPCSuiteInstalled | public boolean isPCSuiteInstalled()(Code) | | Returns whether PC Suite is installed or not.
boolean PC suite installation status. |
openConnectionLayer | public void openConnectionLayer()(Code) | | Opens the platform connection layer using native method.
|
|
|