Package opennlp.tools.formats

# Class ResourceAsStreamFactory

java.lang.Object
opennlp.tools.formats.ResourceAsStreamFactory

All Implemented Interfaces:
  `opennlp.tools.util.InputStreamFactory`

public class ResourceAsStreamFactory extends Object implements opennlp.tools.util.InputStreamFactory

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ResourceAsStreamFactory(Class<?> clazz, String name)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `InputStream`
  `createInputStream()`

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

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

- ## Constructor Details

  - ### ResourceAsStreamFactory

    public ResourceAsStreamFactory(Class<?> clazz, String name)

- ## Method Details

  - ### createInputStream

    public InputStream createInputStream()
    Specified by:
      `createInputStream` in interface `opennlp.tools.util.InputStreamFactory`