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