Java Doc for CommonLauncher.java in  » IDE-Netbeans » nbi » org » netbeans » installer » utils » system » launchers » impl » 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 » IDE Netbeans » nbi » org.netbeans.installer.utils.system.launchers.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.installer.utils.system.launchers.LauncherProperties
      org.netbeans.installer.utils.system.launchers.Launcher
         org.netbeans.installer.utils.system.launchers.impl.CommonLauncher

All known Subclasses:   org.netbeans.installer.utils.system.launchers.impl.ShLauncher,  org.netbeans.installer.utils.system.launchers.impl.JarLauncher,  org.netbeans.installer.utils.system.launchers.impl.ExeLauncher,
CommonLauncher
abstract public class CommonLauncher extends Launcher (Code)

author:
   Dmitry Lipin



Constructor Summary
protected  CommonLauncher(LauncherProperties pr)
    

Method Summary
protected  longaddData(FileOutputStream fos, InputStream is, Progress progress, long total)
    
protected  longaddData(FileOutputStream fos, File file, Progress progress, long total)
    
protected  voidaddData(FileOutputStream fos)
    
protected  longaddString(FileOutputStream fos, String string, boolean isUnicode)
    
protected  longaddStringBuilder(FileOutputStream fos, StringBuilder builder, boolean isUnicode)
    
protected  voidcheckAllParameters()
    
protected  voidcheckBundledJars()
    
protected  voidcheckCompatibleJava()
    
protected  voidcheckJvmFile()
    
protected  voidcheckOutputFileName()
    
protected  voidcheckParameter(String paramDescr, File parameter)
    
protected  voidcheckTestJVMFile()
    
protected  longgetBundledFilesNumber()
    
protected  longgetBundledFilesSize()
    
protected  StringgetJavaCounter(int counter)
    


Constructor Detail
CommonLauncher
protected CommonLauncher(LauncherProperties pr)(Code)




Method Detail
addData
protected long addData(FileOutputStream fos, InputStream is, Progress progress, long total) throws IOException(Code)



addData
protected long addData(FileOutputStream fos, File file, Progress progress, long total) throws IOException(Code)



addData
protected void addData(FileOutputStream fos) throws IOException(Code)



addString
protected long addString(FileOutputStream fos, String string, boolean isUnicode) throws IOException(Code)



addStringBuilder
protected long addStringBuilder(FileOutputStream fos, StringBuilder builder, boolean isUnicode) throws IOException(Code)



checkAllParameters
protected void checkAllParameters() throws IOException(Code)



checkBundledJars
protected void checkBundledJars() throws IOException(Code)



checkCompatibleJava
protected void checkCompatibleJava() throws IOException(Code)



checkJvmFile
protected void checkJvmFile() throws IOException(Code)



checkOutputFileName
protected void checkOutputFileName() throws IOException(Code)



checkParameter
protected void checkParameter(String paramDescr, File parameter) throws IOException(Code)



checkTestJVMFile
protected void checkTestJVMFile() throws IOException(Code)



getBundledFilesNumber
protected long getBundledFilesNumber()(Code)



getBundledFilesSize
protected long getBundledFilesSize() throws IOException(Code)



getJavaCounter
protected String getJavaCounter(int counter)(Code)



Methods inherited from org.netbeans.installer.utils.system.launchers.Launcher
abstract public File create(Progress progress) throws IOException(Code)(Java Doc)
abstract public List<JavaCompatibleProperties> getDefaultCompatibleJava()(Code)(Java Doc)
abstract public String[] getExecutionCommand()(Code)(Java Doc)
abstract public String getExtension()(Code)(Java Doc)
abstract protected String getI18NResourcePrefix()(Code)(Java Doc)
abstract public void initialize() throws IOException(Code)(Java Doc)

Fields inherited from org.netbeans.installer.utils.system.launchers.LauncherProperties
protected boolean addExtenstion(Code)(Java Doc)
protected List<String> appArguments(Code)(Java Doc)
protected List<JavaCompatibleProperties> compatibleJava(Code)(Java Doc)
protected HashMap<String, PropertyResourceBundle> i18nMap(Code)(Java Doc)
protected List<LauncherResource> jars(Code)(Java Doc)
protected List<String> jvmArguments(Code)(Java Doc)
protected List<LauncherResource> jvms(Code)(Java Doc)
protected String mainClass(Code)(Java Doc)
protected List<LauncherResource> otherResources(Code)(Java Doc)
protected File outputFile(Code)(Java Doc)
protected File stubFile(Code)(Java Doc)
protected String testJVMClass(Code)(Java Doc)
protected LauncherResource testJVMFile(Code)(Java Doc)

Methods inherited from org.netbeans.installer.utils.system.launchers.LauncherProperties
public void addCompatibleJava(JavaCompatibleProperties javaProp)(Code)(Java Doc)
public void addJVM(LauncherResource location)(Code)(Java Doc)
public void addJar(LauncherResource file)(Code)(Java Doc)
public void addOtherResource(LauncherResource resource)(Code)(Java Doc)
public List<String> getAppArguments()(Code)(Java Doc)
public List<LauncherResource> getJVMs()(Code)(Java Doc)
public List<LauncherResource> getJars()(Code)(Java Doc)
public List<JavaCompatibleProperties> getJavaCompatibleProperties()(Code)(Java Doc)
public List<String> getJvmArguments()(Code)(Java Doc)
public String getMainClass()(Code)(Java Doc)
public List<LauncherResource> getOtherResources()(Code)(Java Doc)
public File getOutputFile()(Code)(Java Doc)
public File getStubFile()(Code)(Java Doc)
public String getTestJVMClass()(Code)(Java Doc)
public LauncherResource getTestJVMFile()(Code)(Java Doc)
public void setAppArguments(String[] appArguments)(Code)(Java Doc)
public void setAppArguments(List<String> appArguments)(Code)(Java Doc)
public void setI18n(File i18nDir) throws IOException(Code)(Java Doc)
public void setI18n(File[] files) throws IOException(Code)(Java Doc)
public void setI18n(String[] resources) throws IOException(Code)(Java Doc)
public void setI18n(List<String> resources) throws IOException(Code)(Java Doc)
public void setJvmArguments(String[] jvmArguments)(Code)(Java Doc)
public void setJvmArguments(List<String> jvmArguments)(Code)(Java Doc)
public void setLauncherStub(File launcherStub)(Code)(Java Doc)
public void setMainClass(String mainClass)(Code)(Java Doc)
public void setOutput(File output)(Code)(Java Doc)
public void setOutput(File output, boolean addExt)(Code)(Java Doc)
public void setTestJVM(LauncherResource testJVM)(Code)(Java Doc)
public void setTestJVMClass(String testClass)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(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.