public class POSModelSerializer extends Object implements ArtifactSerializer<POSModel>
| Constructor and Description | 
|---|
POSModelSerializer()  | 
| Modifier and Type | Method and Description | 
|---|---|
POSModel | 
create(InputStream in)
Creates the artifact from the provided  
InputStream. | 
void | 
serialize(POSModel artifact,
         OutputStream out)
Serializes the artifact to the provided  
OutputStream. | 
public POSModel create(InputStream in) throws IOException
ArtifactSerializerInputStream.
 The InputStream remains open.create in interface ArtifactSerializer<POSModel>IOExceptionpublic void serialize(POSModel artifact, OutputStream out) throws IOException
ArtifactSerializerOutputStream.
 The OutputStream remains open.serialize in interface ArtifactSerializer<POSModel>IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.