Revision 34005 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.lib/org.gvsig.installer.lib.api/src/main/java/org/gvsig/installer/lib/api/creation/MakePluginPackageService.java
MakePluginPackageService.java | ||
---|---|---|
95 | 95 |
public File getPluginsDirectory(); |
96 | 96 |
|
97 | 97 |
/** |
98 |
* It creates a bundle with a plugin package inside.
|
|
98 |
* It creates a package set with a single plugin package inside.
|
|
99 | 99 |
* |
100 | 100 |
* @param packageInfo |
101 |
* the package that has to be included in the bundle. |
|
102 |
* @param bundleStream |
|
103 |
* the stream where the the bundle is created. |
|
101 |
* the information of the plugin that has to be included in the |
|
102 |
* package set |
|
103 |
* @param packageStream |
|
104 |
* the stream where the the package set will be created |
|
104 | 105 |
* @throws MakePluginPackageServiceException |
105 |
* it is thrown when there is an exception creating the bundle. |
|
106 |
* it is thrown when there is an exception creating the package |
|
107 |
* set |
|
106 | 108 |
*/ |
107 |
public void createPluginPackage(PackageInfo packageInfo,
|
|
108 |
OutputStream bundleStream) throws MakePluginPackageServiceException;
|
|
109 |
public void createPackageSet(PackageInfo packageInfo,
|
|
110 |
OutputStream packageStream) throws MakePluginPackageServiceException;
|
|
109 | 111 |
|
110 | 112 |
/** |
113 |
* It creates a package of a plugin. |
|
114 |
* |
|
115 |
* @param packageInfo |
|
116 |
* the information of the plugin that has to be included in the |
|
117 |
* package |
|
118 |
* @param packageStream |
|
119 |
* the stream where the the package will be created |
|
120 |
* @throws MakePluginPackageServiceException |
|
121 |
* it is thrown when there is an exception creating the |
|
122 |
* package |
|
123 |
*/ |
|
124 |
public void createPackage(PackageInfo packageInfo, |
|
125 |
OutputStream packageStream) throws MakePluginPackageServiceException; |
|
126 |
|
|
127 |
/** |
|
111 | 128 |
* Writes a package info file with the information provided. |
112 | 129 |
* |
113 | 130 |
* @param packageInfo |
Also available in: Unified diff