public class DictionarySerializer extends Object implements ArtifactSerializer<Dictionary>
| Constructor and Description |
|---|
DictionarySerializer() |
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
create(InputStream in)
Creates the artifact from the provided
InputStream. |
void |
serialize(Dictionary dictionary,
OutputStream out)
Serializes the artifact to the provided
OutputStream. |
public Dictionary create(InputStream in) throws IOException
ArtifactSerializerInputStream.
The InputStream remains open.create in interface ArtifactSerializer<Dictionary>IOExceptionpublic void serialize(Dictionary dictionary, OutputStream out) throws IOException
ArtifactSerializerOutputStream.
The OutputStream remains open.serialize in interface ArtifactSerializer<Dictionary>IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.