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