Java Doc for IPackager.java in  » Installer » IzPack » com » izforge » izpack » compiler » 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 » Installer » IzPack » com.izforge.izpack.compiler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.izforge.izpack.compiler.IPackager

All known Subclasses:   com.izforge.izpack.compiler.PackagerBase,
IPackager
public interface IPackager (Code)
Interface for all packager implementations
author:
   Dennis Reil,




Method Summary
abstract public  voidaddConfigurationInformation(XMLElement data)
     Adds configuration information to the packager.
abstract public  voidaddCustomJar(CustomData ca, URL url)
     Add a custom data like custom actions, where order is important.
abstract public  voidaddJarContent(URL jarURL)
     Adds a jar file content to the installer.
abstract public  voidaddJarContent(URL jarURL, List<String> files)
     Adds a jar file content to the installer.
abstract public  voidaddLangPack(String iso3, URL xmlURL, URL flagURL)
     Adds a language pack.
abstract public  voidaddNativeLibrary(String name, URL url)
     Adds a native library.
abstract public  voidaddNativeUninstallerLibrary(CustomData data)
     Marks a native library to be added to the uninstaller.
abstract public  voidaddPack(PackInfo pack)
     Adds a pack, order is mostly irrelevant.
abstract public  voidaddPanelJar(Panel panel, URL jarURL)
     Add a panel, where order is important.
abstract public  voidaddResource(String resId, URL url)
     Adds a resource.
abstract public  voidcreateInstaller(File primaryFile)
     Create the installer, beginning with the specified jar.
abstract public  PackCompressorgetCompressor()
    
abstract public  Map<String, DynamicVariable>getDynamicVariables()
    
abstract public  PackagerListenergetPackagerListener()
     Get the PackagerListener.
abstract public  List<PackInfo>getPacksList()
    
abstract public  Map<String, Condition>getRules()
    
abstract public  PropertiesgetVariables()
     Allows access to add, remove and update the variables for the project, which are maintained in the packager.
abstract public  voidinitPackCompressor(String compr_format, int compr_level)
    
abstract public  voidsetDynamicVariables(Map<String, DynamicVariable> dynamicvariables)
    
abstract public  voidsetGUIPrefs(GUIPrefs prefs)
     Sets the GUI preferences.
abstract public  voidsetInfo(Info info)
     Sets the informations related to this installation.
abstract public  voidsetPackagerListener(PackagerListener listener)
     Adds a listener.
abstract public  voidsetRules(Map<String, Condition> rules)
    



Method Detail
addConfigurationInformation
abstract public void addConfigurationInformation(XMLElement data)(Code)
Adds configuration information to the packager.
Parameters:
  data - - the xml-element packaging from the install.xml



addCustomJar
abstract public void addCustomJar(CustomData ca, URL url)(Code)
Add a custom data like custom actions, where order is important. Only one copy of the class files neeed are inserted in the installer.
Parameters:
  ca - custom action object
Parameters:
  url - the URL to include once



addJarContent
abstract public void addJarContent(URL jarURL)(Code)
Adds a jar file content to the installer. Package structure is maintained. Need mechanism to copy over signed entry information.
Parameters:
  jarURL - The url of the jar to add to the installer. We use a URL so the jar may benested within another.



addJarContent
abstract public void addJarContent(URL jarURL, List<String> files)(Code)
Adds a jar file content to the installer. Package structure is maintained. Need mechanism to copy over signed entry information. If the given file list is null the hole contents of the jar file will be copied else only the listed.
Parameters:
  jarURL - The url of the jar to add to the installer. We use a URL so the jar may benested within another.
Parameters:
  files - to be copied



addLangPack
abstract public void addLangPack(String iso3, URL xmlURL, URL flagURL)(Code)
Adds a language pack.
Parameters:
  iso3 - The ISO3 code.
Parameters:
  xmlURL - The location of the xml local info
Parameters:
  flagURL - The location of the flag image resource



addNativeLibrary
abstract public void addNativeLibrary(String name, URL url) throws Exception(Code)
Adds a native library.
Parameters:
  name - The native library name.
Parameters:
  url - The url to get the data from.
exception:
  Exception - Description of the Exception



addNativeUninstallerLibrary
abstract public void addNativeUninstallerLibrary(CustomData data)(Code)
Marks a native library to be added to the uninstaller.
Parameters:
  data - the describing custom action data object



addPack
abstract public void addPack(PackInfo pack)(Code)
Adds a pack, order is mostly irrelevant.
Parameters:
  pack - contains all the files and items that go with a pack



addPanelJar
abstract public void addPanelJar(Panel panel, URL jarURL)(Code)
Add a panel, where order is important. Only one copy of the class files neeed are inserted in the installer.



addResource
abstract public void addResource(String resId, URL url)(Code)
Adds a resource.
Parameters:
  resId - The resource Id.
Parameters:
  url - The location of the data



createInstaller
abstract public void createInstaller(File primaryFile) throws Exception(Code)
Create the installer, beginning with the specified jar. If the name specified does not end in ".jar", it is appended. If secondary jars are created for packs (if the Info object added has a webDirURL set), they are created in the same directory, named sequentially by inserting ".pack#" (where '#' is the pack number) ".jar" suffix: e.g. "foo.pack1.jar". If any file exists, it is overwritten.



getCompressor
abstract public PackCompressor getCompressor()(Code)
Returns the current pack compressor Returns the current pack compressor.



getDynamicVariables
abstract public Map<String, DynamicVariable> getDynamicVariables()(Code)
Returns a map of dynamically refreshed variables the map



getPackagerListener
abstract public PackagerListener getPackagerListener()(Code)
Get the PackagerListener. the current PackagerListener



getPacksList
abstract public List<PackInfo> getPacksList()(Code)
Gets the packages list



getRules
abstract public Map<String, Condition> getRules()(Code)
the rules



getVariables
abstract public Properties getVariables()(Code)
Allows access to add, remove and update the variables for the project, which are maintained in the packager. map of variable names to values



initPackCompressor
abstract public void initPackCompressor(String compr_format, int compr_level) throws CompilerException(Code)
Initializes a pack compressor if supported by the packager
Parameters:
  compr_format -
Parameters:
  compr_level -



setDynamicVariables
abstract public void setDynamicVariables(Map<String, DynamicVariable> dynamicvariables)(Code)

Parameters:
  dynamicvariables -



setGUIPrefs
abstract public void setGUIPrefs(GUIPrefs prefs)(Code)
Sets the GUI preferences.
Parameters:
  prefs - The new gUIPrefs value



setInfo
abstract public void setInfo(Info info) throws Exception(Code)
Sets the informations related to this installation.
Parameters:
  info - The info section.
exception:
  Exception - Description of the Exception



setPackagerListener
abstract public void setPackagerListener(PackagerListener listener)(Code)
Adds a listener.
Parameters:
  listener - The listener.



setRules
abstract public void setRules(Map<String, Condition> rules)(Code)

Parameters:
  rules - the rules to set



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