public interface ArtifactSerializer<T>
InputStream.| Modifier and Type | Method and Description | 
|---|---|
T | 
create(InputStream in)
Creates the artifact from the provided  
InputStream. | 
void | 
serialize(T artifact,
         OutputStream out)
Serializes the artifact to the provided  
OutputStream. | 
T create(InputStream in) throws IOException
InputStream.
 The InputStream remains open.IOExceptionvoid serialize(T artifact, OutputStream out) throws IOException
OutputStream.
 The OutputStream remains open.artifact - out - IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.