Interface ArchiveReader.ArtifactConsumer
- Enclosing class:
- ArchiveReader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
consume
(ArtifactId artifactId, 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:
artifactId
- The artifact idis
- The input stream for the artifact- Throws:
IOException
- If the artifact can't be consumed
-