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