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
ArtifactSerializer
InputStream
.
The InputStream
remains open.create
in interface ArtifactSerializer<POSModel>
IOException
public void serialize(POSModel artifact, OutputStream out) throws IOException
ArtifactSerializer
OutputStream
.
The OutputStream
remains open.serialize
in interface ArtifactSerializer<POSModel>
IOException
Copyright © 2018 The Apache Software Foundation. All rights reserved.