From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../contribution/processor/PackageProcessor.html | 276 +++++++++++++++++++++ 1 file changed, 276 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/processor/PackageProcessor.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/processor/PackageProcessor.html') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/processor/PackageProcessor.html b/site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/processor/PackageProcessor.html new file mode 100644 index 0000000000..519082e762 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-0.9/sca-spi/org/apache/tuscany/sca/contribution/processor/PackageProcessor.html @@ -0,0 +1,276 @@ + + + + + + +PackageProcessor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.contribution.processor +
+Interface PackageProcessor

+
+
All Known Implementing Classes:
ExtensiblePackageProcessor
+
+
+
+
public interface PackageProcessor
+ + +

+Contribution package processors + These processors understand the internal format of the contribution and how to process the artifacts +

+ +

+

+
Version:
+
$Rev: 539692 $ $Date: 2007-05-19 07:06:18 +0100 (Sat, 19 May 2007) $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.List<java.net.URI>getArtifacts(java.net.URL packageSourceURL, + java.io.InputStream inputStream) + +
+          Retrieve a list of artifacts for the specific package type
+ java.net.URLgetArtifactURL(java.net.URL packageSourceURL, + java.net.URI artifact) + +
+          Return the URL for an artifact in the package.
+ java.lang.StringgetPackageType() + +
+          Returns the type of package supported by this package processor.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getPackageType

+
+java.lang.String getPackageType()
+
+
Returns the type of package supported by this package processor. +

+

+ +
Returns:
the package type
+
+
+
+ +

+getArtifacts

+
+java.util.List<java.net.URI> getArtifacts(java.net.URL packageSourceURL,
+                                          java.io.InputStream inputStream)
+                                          throws ContributionException,
+                                                 java.io.IOException
+
+
Retrieve a list of artifacts for the specific package type +

+

+
Parameters:
packageSourceURL - Contribution package location URL
inputStream - Optional content of the package +
Returns:
List of artifact URIs +
Throws: +
ContributionException +
java.io.IOException
+
+
+
+ +

+getArtifactURL

+
+java.net.URL getArtifactURL(java.net.URL packageSourceURL,
+                            java.net.URI artifact)
+                            throws java.net.MalformedURLException
+
+
Return the URL for an artifact in the package. + This is needed in the case of special archives such as jar files that have special + URL structure for internal artifacts +

+

+
Parameters:
packageSourceURL - Contribution package location URL
artifact - The relative URI for the artifact +
Returns:
The artifact URL +
Throws: +
java.net.MalformedURLException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3