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