ParseSampleStream (Apache OpenNLP :: Core :: Runtime 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.parser, class: ParseSampleStream

Package opennlp.tools.parser

# Class ParseSampleStream

java.lang.Object
opennlp.tools.util.FilterObjectStream<String,opennlp.tools.parser.Parse>
opennlp.tools.parser.ParseSampleStream

All Implemented Interfaces:
  `AutoCloseable`, `opennlp.tools.util.ObjectStream<opennlp.tools.parser.Parse>`

public class ParseSampleStream extends FilterObjectStream<String,opennlp.tools.parser.Parse>

See Also:
  - `Parse`
  - `FilterObjectStream`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ParseSampleStream(opennlp.tools.util.ObjectStream<String> in)`
  Initializes a `instance`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `opennlp.tools.parser.Parse`
  `read()`

  ### Methods inherited from class opennlp.tools.util.FilterObjectStream

  `close, reset`

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

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

- ## Constructor Details

  - ### ParseSampleStream

    public ParseSampleStream(opennlp.tools.util.ObjectStream<String> in)
    Initializes a `instance`.
    Parameters:
      `in` - A plain text `stream` used as input.

- ## Method Details

  - ### read

    public opennlp.tools.parser.Parse read() throws IOException
    Throws:
      `IOException`