public static class BrownCluster.BrownClusterSerializer extends Object implements ArtifactSerializer<BrownCluster>
Constructor and Description |
---|
BrownClusterSerializer() |
Modifier and Type | Method and Description |
---|---|
BrownCluster |
create(InputStream in)
Creates the artifact from the provided
InputStream . |
void |
serialize(BrownCluster artifact,
OutputStream out)
Serializes the artifact to the provided
OutputStream . |
public BrownCluster create(InputStream in) throws IOException
ArtifactSerializer
InputStream
.
The InputStream
remains open.create
in interface ArtifactSerializer<BrownCluster>
IOException
public void serialize(BrownCluster artifact, OutputStream out) throws IOException
ArtifactSerializer
OutputStream
.
The OutputStream
remains open.serialize
in interface ArtifactSerializer<BrownCluster>
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.