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