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
ArtifactSerializerInputStream.
The InputStream remains open.create in interface ArtifactSerializer<POSDictionary>java.io.IOExceptionpublic void serialize(POSDictionary artifact, java.io.OutputStream out) throws java.io.IOException
ArtifactSerializerOutputStream.
The OutputStream remains open.serialize in interface ArtifactSerializer<POSDictionary>java.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved