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