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