Package opennlp.tools.cmdline

# Interface ObjectStreamFactory<T,P>

public interface ObjectStreamFactory<T,P>

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ObjectStream<T>`
  `create(String[] args)`
  Creates an `ObjectStream` of the template type `T`.
  `Class<P>`
  `getParameters()`

- ## Method Details

  - ### getParameters

    Class<P> getParameters()
    Returns:
      Retrieves interface with parameters description.

  - ### create

    ObjectStream<T> create(String[] args)
    Creates an `ObjectStream` of the template type `T`.
    Parameters:
      `args` - arguments
    Returns:
      The created `ObjectStream` instance.