Interface ModelArchiveReader.ArtifactConsumer
- Enclosing class:
- ModelArchiveReader
public static interface ModelArchiveReader.ArtifactConsumer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
consume
(Artifact artifact, InputStream is) Consume the artifact from the archive The input stream must not be closed by the consumer.
-
Method Details
-
consume
Consume the artifact from the archive The input stream must not be closed by the consumer.- Parameters:
artifact
- The artifactis
- The input stream for the artifact- Throws:
IOException
- If the artifact can't be consumed
-