Package opennlp.tools.util.model

# Class POSModelSerializer

java.lang.Object
opennlp.tools.util.model.POSModelSerializer

All Implemented Interfaces:
  `opennlp.tools.util.model.ArtifactSerializer<POSModel>`

public class POSModelSerializer extends Object implements opennlp.tools.util.model.ArtifactSerializer<POSModel>
An `ArtifactSerializer` implementation for `models`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `POSModelSerializer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `POSModel`
  `create(InputStream in)`
  `void`
  `serialize(POSModel artifact, OutputStream out)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### POSModelSerializer

    public POSModelSerializer()

- ## Method Details

  - ### create

    public POSModel create(InputStream in) throws IOException
    Specified by:
      `create` in interface `opennlp.tools.util.model.ArtifactSerializer<POSModel>`
    Throws:
      `IOException`

  - ### serialize

    public void serialize(POSModel artifact, OutputStream out) throws IOException
    Specified by:
      `serialize` in interface `opennlp.tools.util.model.ArtifactSerializer<POSModel>`
    Throws:
      `IOException`