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 - falseMetadataReaderExceptionRepositoryExceptionbyte[] readRawData(ArtifactMetadata bmd, String classifier, String type) throws MetadataReaderException
MetadataReaderExceptionbyte[] readMetadata(ArtifactMetadata bmd, boolean exempt) throws MetadataReaderException
bmd - metadata to readexempt - - if this read should be exempt from stream verification, default - falseMetadataReaderExceptionbyte[] readMetadata(ArtifactMetadata bmd) throws MetadataReaderException
MetadataReaderExceptionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.