public static class BrownCluster.BrownClusterSerializer extends java.lang.Object implements ArtifactSerializer<BrownCluster>
Constructor and Description |
---|
BrownClusterSerializer() |
Modifier and Type | Method and Description |
---|---|
BrownCluster |
create(java.io.InputStream in)
Creates the artifact from the provided
InputStream . |
void |
serialize(BrownCluster artifact,
java.io.OutputStream out)
Serializes the artifact to the provided
OutputStream . |
public BrownCluster create(java.io.InputStream in) throws java.io.IOException, InvalidFormatException
ArtifactSerializer
InputStream
.
The InputStream
remains open.create
in interface ArtifactSerializer<BrownCluster>
java.io.IOException
InvalidFormatException
public void serialize(BrownCluster artifact, java.io.OutputStream out) throws java.io.IOException
ArtifactSerializer
OutputStream
.
The OutputStream
remains open.serialize
in interface ArtifactSerializer<BrownCluster>
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved