opennlp.tools.util

## Interface InputStreamFactory

- All Known Implementing Classes:
    MarkableFileInputStreamFactory

      public interface InputStreamFactory

  Allows repeated reads through a stream for certain types of model building. Use `MockInputStreamFactory` MockInputStreamFactory for default behavior.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `InputStream` | `createInputStream()`

- - ### Method Detail

    - #### createInputStream

          InputStream createInputStream()
                                 throws IOException

      Throws:
        `IOException`

Copyright © 2026 The Apache Software Foundation. All rights reserved.