|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PackageProcessor
Contribution package processors These processors understand the internal format of the contribution and how to process the artifacts
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.URL |
getArtifactURL(java.net.URL packageSourceURL,
java.net.URI artifact)
Return the URL for an artifact in the package. |
java.lang.String |
getPackageType()
Returns the type of package supported by this package processor. |
Method Detail |
---|
java.lang.String getPackageType()
java.util.List<java.net.URI> getArtifacts(java.net.URL packageSourceURL, java.io.InputStream inputStream) throws ContributionException, java.io.IOException
packageSourceURL
- Contribution package location URLinputStream
- Optional content of the package
ContributionException
java.io.IOException
java.net.URL getArtifactURL(java.net.URL packageSourceURL, java.net.URI artifact) throws java.net.MalformedURLException
packageSourceURL
- Contribution package location URLartifact
- The relative URI for the artifact
java.net.MalformedURLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |