Interface ModelArchiveWriter.ArtifactProvider
-
- Enclosing class:
- ModelArchiveWriter
public static interface ModelArchiveWriter.ArtifactProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStreamgetInputStream(Artifact artifact)Provide an input stream for the artifact.
-
-
-
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
-
-