Package opennlp.tools.parser.lang.en

# Class HeadRules.HeadRulesSerializer

java.lang.Object
opennlp.tools.parser.lang.en.HeadRules.HeadRulesSerializer

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

Enclosing class:
  `HeadRules`

public static class HeadRules.HeadRulesSerializer extends Object implements opennlp.tools.util.model.ArtifactSerializer<HeadRules>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `HeadRulesSerializer()`

- ## Method Summary

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

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

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

- ## Constructor Details

  - ### HeadRulesSerializer

    public HeadRulesSerializer()

- ## Method Details

  - ### create

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

  - ### serialize

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