Interface ModelArchiveReader.ArtifactConsumer
-
- Enclosing class:
- ModelArchiveReader
public static interface ModelArchiveReader.ArtifactConsumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
consume
void consume(Artifact artifact, java.io.InputStream is) throws java.io.IOException
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:
java.io.IOException
- If the artifact can't be consumed
-
-