public interface MetadataReader
Modifier and Type | Method and Description |
---|---|
byte[] |
readMetadata(ArtifactMetadata bmd) |
byte[] |
readMetadata(ArtifactMetadata bmd,
boolean exempt)
read metadata for the artifact, pointed by bmd.
|
byte[] |
readRawData(ArtifactMetadata bmd,
String classifier,
String type) |
byte[] |
readRawData(ArtifactMetadata bmd,
String classifier,
String type,
boolean exempt)
read raw content pointed by bmd, possibly modified by classifier and type
|
byte[] readRawData(ArtifactMetadata bmd, String classifier, String type, boolean exempt) throws MetadataReaderException
bmd
- coordinatesclassifier
- - replaces the getClassifier() from bmd if not nulltype
- - replaces the getType() from bmd if not nullexempt
- - if this read should be exempt from stream verification, default - falseMetadataReaderException
RepositoryException
byte[] readRawData(ArtifactMetadata bmd, String classifier, String type) throws MetadataReaderException
MetadataReaderException
byte[] readMetadata(ArtifactMetadata bmd, boolean exempt) throws MetadataReaderException
bmd
- metadata to readexempt
- - if this read should be exempt from stream verification, default - falseMetadataReaderException
byte[] readMetadata(ArtifactMetadata bmd) throws MetadataReaderException
MetadataReaderException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.