Revision 38578 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/InstallerManager.java
InstallerManager.java | ||
---|---|---|
28 | 28 |
package org.gvsig.installer.lib.api; |
29 | 29 |
|
30 | 30 |
import java.io.File; |
31 |
import java.io.IOException; |
|
32 |
import java.io.InputStream; |
|
31 | 33 |
import java.net.URL; |
32 | 34 |
import java.text.MessageFormat; |
33 | 35 |
import java.util.List; |
... | ... | |
37 | 39 |
import org.gvsig.installer.lib.api.creation.MakePluginPackageServiceException; |
38 | 40 |
import org.gvsig.installer.lib.api.execution.InstallPackageService; |
39 | 41 |
import org.gvsig.installer.lib.api.execution.InstallPackageServiceException; |
42 |
import org.gvsig.tools.exception.BaseException; |
|
40 | 43 |
import org.gvsig.tools.service.Manager; |
41 | 44 |
|
42 | 45 |
/** |
... | ... | |
354 | 357 |
public Version createVersion(); |
355 | 358 |
|
356 | 359 |
public PackageInfo createPackageInfo(); |
360 |
|
|
361 |
/** |
|
362 |
* Create a PackageInfo and load contents from the specified InputStream using the |
|
363 |
* default reader. |
|
364 |
* |
|
365 |
* @param packegeinfo as URL |
|
366 |
* @return the created packageInfo |
|
367 |
* @throws IOException |
|
368 |
* @throws BaseException |
|
369 |
*/ |
|
370 |
public PackageInfo createPackageInfo(InputStream packegeinfo) throws BaseException; |
|
357 | 371 |
|
358 | 372 |
public PackageInfoWriter getDefaultPackageInfoWriter(); |
359 | 373 |
|
Also available in: Unified diff