Revision 32602 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.lib/org.gvsig.installer.lib.spi/src/main/java/org/gvsig/installer/lib/spi/execution/InstallPackageProvider.java

View differences:

InstallPackageProvider.java
34 34

  
35 35

  
36 36
/**
37
 * <p>
38
 * Provider that manage the installation process of a concrete package. There
39
 * is a different provider for each package type that is supported. The provider
40
 * just have a method to install the package in gvSIG
41
 * </p>
42
 * 
37 43
 * @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodr&aacute;</a>
38 44
 */
39 45
public interface InstallPackageProvider {
40 46

  
47
	/**
48
	 * This method install a package in a valid gvSIG directory.
49
	 * @param applicationDirectory
50
	 * the directory where gvSIG is located.
51
	 * @param inputStream
52
	 * the stream that contains the package information.
53
	 * @throws InstallPackageServiceException
54
	 * if there is a problem reading the stream or installing the package.
55
	 */
41 56
	public void install(File applicationDirectory, InputStream inputStream) throws InstallPackageServiceException;
42 57

  
43 58
}

Also available in: Unified diff