public static class BrownCluster.BrownClusterSerializer extends Object implements ArtifactSerializer<BrownCluster>
Constructor and Description |
---|
BrownCluster.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, InvalidFormatException
ArtifactSerializer
InputStream
.
The InputStream
remains open.create
in interface ArtifactSerializer<BrownCluster>
IOException
InvalidFormatException
public void serialize(BrownCluster artifact, OutputStream out) throws IOException
ArtifactSerializer
OutputStream
.
The OutputStream
remains open.serialize
in interface ArtifactSerializer<BrownCluster>
IOException
Copyright © 2015 The Apache Software Foundation. All rights reserved.