public interface ArtifactSerializer<T>
InputStream.| Modifier and Type | Method and Description |
|---|---|
T |
create(java.io.InputStream in)
Creates the artifact from the provided
InputStream. |
void |
serialize(T artifact,
java.io.OutputStream out)
Serializes the artifact to the provided
OutputStream. |
T create(java.io.InputStream in) throws java.io.IOException
InputStream.
The InputStream remains open.java.io.IOExceptionvoid serialize(T artifact, java.io.OutputStream out) throws java.io.IOException
OutputStream.
The OutputStream remains open.artifact - out - java.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved