|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PackageProcessor
Interface for contribution package processors Package processors understand the format of the contribution and how to get the artifacts in the contribution.
Method Summary | |
---|---|
java.util.List<java.net.URI> |
getArtifacts(java.net.URL packageSourceURL,
java.io.InputStream inputStream)
Returns a list of artifacts in the contribution. |
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 |