Interface ModelArchiveWriter.ArtifactProvider

  • Enclosing class:
    ModelArchiveWriter

    public static interface ModelArchiveWriter.ArtifactProvider
    • Method Detail

      • getInputStream

        java.io.InputStream getInputStream​(Artifact artifact)
                                    throws java.io.IOException
        Provide an input stream for the artifact. The input stream will be closed by the caller.
        Parameters:
        artifact - The artifact
        Returns:
        The input stream
        Throws:
        java.io.IOException - If the input stream can't be provided