Java Doc for JUMPInstallerTool.java in  » 6.0-JDK-Modules » j2me » com » sun » jumpimpl » module » installer » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » com.sun.jumpimpl.module.installer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jumpimpl.module.installer.JUMPInstallerTool

JUMPInstallerTool
public class JUMPInstallerTool (Code)
This class is an installation tool for downloading, installing, uninstalling, and listing content in the content store application repository. This class should be routinely modified with more features as development continues. The current supported commands are: list, info, install, install_all, uninstall, uninstall_all The commands install and uninstall will provide the user with an interactive way to choose files to be installed or uninstalled. The command install_all and uninstall_all will install or uninstall all content without interactive with the user. Usage: -cp com.sun.jumpimpl.module.installer.JUMPInstallerTool -ProvisioningServerURL -command is optional, but it should be known that contentstore.root can be overridden here if desired. For example, -Dcontentstore.root= can be specified can currently be list, info, install, install_all, uninstall, and uninstall_all -verbose: print debugging messages Ex: cvm -cp $JUMP_JARS com.sun.jumpimpl.module.installer.JUMPInstallerTool -command list cvm -Dcontentstore.root=data2 -cp $JUMP_JARS com.sun.jumpimpl.module.installer.JUMPInstallerTool -command install cvm -cp $JUMP_JARS com.sun.jumpimpl.module.installer.JUMPInstallerTool -command uninstall cvm -cp $JUMP_JARS com.sun.jumpimpl.module.installer.JUMPInstallerTool -verbose -command install_all cvm -cp $JUMP_JARS com.sun.jumpimpl.module.installer.JUMPInstallerTool -command uninstall_all

Inner Class :class DownloadTool

Field Summary
protected  StringCommand
    
protected  StringContentURL
     URL containing the content to be installed.
protected  StringDescriptorURI
    
protected  StringId
     The id of an installed content.
protected  StringProtocol
     The protocol of the content.
protected  StringProvisioningServer
    
protected  StringType
    
protected  StringValue
    
protected  booleanVerbose
    
protected  JUMPDownloadModuledownloadModule
    
protected  JUMPInstallerModulemainInstaller
    
protected  JUMPInstallerModulemidletInstaller
    
protected  JUMPInstallerModulexletInstaller
    

Constructor Summary
public  JUMPInstallerTool(String[] args)
    

Method Summary
public  voiddoInfo()
     Print out information pertaining to each application in a list.
public  JUMPContent[]doInstall(String descriptorFileUrl)
     Install the content described by the specified content descriptor file. The content will be automatically downloaded before being installed.
Parameters:
  descriptorFileUrl - A URL to a content desciptor file.
public  JUMPContent[]doInstall(String descriptorFileUrl)
     Install the content described by the specified content descriptor files. The content will be automatically downloaded before being installed.
Parameters:
  descriptorFileUrl - A URL to a content desciptor file.
public  JUMPContent[]doInstall(String downloadNames, String downloadURIs)
     Install content given a list of names and URIs to content descriptor files.
Parameters:
  downloadNames - The title of the content.The index of the array for this valuerelates to the same index in teharray for downloadURIs.
Parameters:
  downloadURIs - The URIs to the content descriptorfiles.The index of the array for this valuerelates to the same index in teharray for downloadNames.
public  JUMPContent[]doInstall(String downloadName, String downloadURI)
     Install content given a name and a URI to a content descriptor file.
public  JUMPContent[]doInstall(String provisioningServerURL, boolean userInteractive)
     Given a provisioning server URL, install content
Parameters:
  provisioningServerURL - The URL to a provisioning server
Parameters:
  userInteractive - When true, the user chooses anapplication to install among a listof available content.When false, all available content isautomatically installed.
public  voiddoList()
     Print out a list of all installed content.
public  voiddoUninstall(JUMPAppModel model, int id)
     Uninstall content given the content type and installed application id.
public  voiddoUninstall(JUMPApplication app)
    
public  voiddoUninstall(JUMPApplication apps)
    
public  voiddoUninstall(boolean userInteractive)
    
public static  voidmain(String[] args)
     The main method when used as a standalone tool.
Parameters:
  args - program args.

Field Detail
Command
protected String Command(Code)
The current command to be run



ContentURL
protected String ContentURL(Code)
URL containing the content to be installed.



DescriptorURI
protected String DescriptorURI(Code)
URI of the descriptor file of the content to be installed



Id
protected String Id(Code)
The id of an installed content.



Protocol
protected String Protocol(Code)
The protocol of the content. The value should be either: ota/midp or ota/oma



ProvisioningServer
protected String ProvisioningServer(Code)
URL used for Provisioning Server location



Type
protected String Type(Code)
The application type of an installed content



Value
protected String Value(Code)
Sub-values for the current command to be run



Verbose
protected boolean Verbose(Code)
Whether or not to print debug messages



downloadModule
protected JUMPDownloadModule downloadModule(Code)
holds download module object



mainInstaller
protected JUMPInstallerModule mainInstaller(Code)
main installer module object



midletInstaller
protected JUMPInstallerModule midletInstaller(Code)
midlet installer module object



xletInstaller
protected JUMPInstallerModule xletInstaller(Code)
xlet installer module object




Constructor Detail
JUMPInstallerTool
public JUMPInstallerTool(String[] args)(Code)
Creates a new instance of JUMPInstallerTool
Parameters:
  args - arguments for the tool




Method Detail
doInfo
public void doInfo()(Code)
Print out information pertaining to each application in a list.



doInstall
public JUMPContent[] doInstall(String descriptorFileUrl)(Code)
Install the content described by the specified content descriptor file. The content will be automatically downloaded before being installed.
Parameters:
  descriptorFileUrl - A URL to a content desciptor file. the installed content



doInstall
public JUMPContent[] doInstall(String descriptorFileUrl)(Code)
Install the content described by the specified content descriptor files. The content will be automatically downloaded before being installed.
Parameters:
  descriptorFileUrl - A URL to a content desciptor file. the installed content



doInstall
public JUMPContent[] doInstall(String downloadNames, String downloadURIs)(Code)
Install content given a list of names and URIs to content descriptor files.
Parameters:
  downloadNames - The title of the content.The index of the array for this valuerelates to the same index in teharray for downloadURIs.
Parameters:
  downloadURIs - The URIs to the content descriptorfiles.The index of the array for this valuerelates to the same index in teharray for downloadNames. the installed content



doInstall
public JUMPContent[] doInstall(String downloadName, String downloadURI)(Code)
Install content given a name and a URI to a content descriptor file.
Parameters:
  downloadName - The name of the content
Parameters:
  downloadURI - The URI to the content descriptor file the installed content



doInstall
public JUMPContent[] doInstall(String provisioningServerURL, boolean userInteractive)(Code)
Given a provisioning server URL, install content
Parameters:
  provisioningServerURL - The URL to a provisioning server
Parameters:
  userInteractive - When true, the user chooses anapplication to install among a listof available content.When false, all available content isautomatically installed. the installed content



doList
public void doList()(Code)
Print out a list of all installed content.



doUninstall
public void doUninstall(JUMPAppModel model, int id)(Code)
Uninstall content given the content type and installed application id.
Parameters:
  model - the content type, i.e.,midlet, xlet, or main
Parameters:
  id - the installed application id



doUninstall
public void doUninstall(JUMPApplication app)(Code)
Uninstall content
Parameters:
  app - the application to uninstall



doUninstall
public void doUninstall(JUMPApplication apps)(Code)
Uninstall content
Parameters:
  apps - the content to uninstall



doUninstall
public void doUninstall(boolean userInteractive)(Code)
Uninstall content
Parameters:
  userInteractive - if true, the user chooses an applicationamong a list of all installed contentto uninstall.if false, all installed content inuninstalled.



main
public static void main(String[] args)(Code)
The main method when used as a standalone tool.
Parameters:
  args - program args. See docs for details.



Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.