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