public static interface ModelArchiveReader.ArtifactConsumer
Modifier and Type | Method and Description |
---|---|
void |
consume(Artifact artifact,
InputStream is)
Consume the artifact from the archive
The input stream must not be closed by the consumer.
|
void consume(Artifact artifact, InputStream is) throws IOException
artifact
- The artifactis
- The input stream for the artifactIOException
- If the artifact can't be consumedCopyright © 2017 The Apache Software Foundation. All rights reserved.