Interface ModelArchiveReader.ArtifactConsumer

  • Enclosing class:
    ModelArchiveReader

    public static interface ModelArchiveReader.ArtifactConsumer
    • Method Detail

      • consume

        void consume​(Artifact artifact,
                     InputStream is)
              throws IOException
        Consume the artifact from the archive The input stream must not be closed by the consumer.
        Parameters:
        artifact - The artifact
        is - The input stream for the artifact
        Throws:
        IOException - If the artifact can't be consumed