Package opennlp.tools.util

# Class EventTraceStream

java.lang.Object
opennlp.tools.util.FilterObjectStream<opennlp.tools.ml.model.Event,opennlp.tools.ml.model.Event>
opennlp.tools.util.EventTraceStream

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

public class EventTraceStream extends FilterObjectStream<opennlp.tools.ml.model.Event,opennlp.tools.ml.model.Event>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EventTraceStream(opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event> stream, Writer writer)`
  Initializes an `EventTraceStream`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `opennlp.tools.ml.model.Event`
  `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

  - ### EventTraceStream

    public EventTraceStream(opennlp.tools.util.ObjectStream<opennlp.tools.ml.model.Event> stream, Writer writer)
    Initializes an `EventTraceStream`.
    Parameters:
      `stream` - The `stream` of events.
      `writer` - A `Writer` used write `events` to.

- ## Method Details

  - ### read

    public opennlp.tools.ml.model.Event read() throws IOException
    Throws:
      `IOException`