| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContributionScanner
Interface for contribution package scanners Contribution scanners understand the format of the contribution and how to get the artifacts in the contribution.
| Method Summary | |
|---|---|
 java.util.List<java.lang.String> | 
getArtifacts(java.net.URL contributionURL)
Returns a list of artifacts in the contribution.  | 
 java.net.URL | 
getArtifactURL(java.net.URL contributionURL,
               java.lang.String artifact)
Return the URL for an artifact in the contribution.  | 
 java.lang.String | 
getContributionType()
Returns the type of package supported by this package scanner.  | 
| Method Detail | 
|---|
java.lang.String getContributionType()
java.util.List<java.lang.String> getArtifacts(java.net.URL contributionURL)
                                              throws ContributionReadException
contributionURL - Contribution URL
ContributionException
IOException
ContributionReadException
java.net.URL getArtifactURL(java.net.URL contributionURL,
                            java.lang.String artifact)
                            throws ContributionReadException
contributionURL - Contribution URLartifact - The relative URI for the artifact
ContributionReadException
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||