Package opennlp.tools.ml.model

# Class SequenceStreamEventStream

java.lang.Object
opennlp.tools.ml.model.SequenceStreamEventStream

All Implemented Interfaces:
  `AutoCloseable`, `opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>`

public class SequenceStreamEventStream extends Object implements opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>
Class which turns a `SequenceStream` into an event stream.

See Also:
  - `Event`
  - `ObjectStream`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SequenceStreamEventStream(opennlp.tools.ml.model.SequenceStream<opennlp.tools.ml.model.Event> sequenceStream)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `opennlp.tools.ml.model.Event`
  `read()`
  `void`
  `reset()`

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

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

- ## Constructor Details

  - ### SequenceStreamEventStream

    public SequenceStreamEventStream(opennlp.tools.ml.model.SequenceStream<opennlp.tools.ml.model.Event> sequenceStream)

- ## Method Details

  - ### read

    public opennlp.tools.ml.model.Event read() throws IOException
    Specified by:
      `read` in interface `opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>`
    Throws:
      `IOException`

  - ### reset

    public void reset() throws IOException, UnsupportedOperationException
    Specified by:
      `reset` in interface `opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>`
    Throws:
      `IOException`
      `UnsupportedOperationException`

  - ### close

    public void close() throws IOException
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event>`
    Throws:
      `IOException`