Package opennlp.tools.util
Class MarkableFileInputStreamFactory
- java.lang.Object
-
- opennlp.tools.util.MarkableFileInputStreamFactory
-
- All Implemented Interfaces:
InputStreamFactory
public class MarkableFileInputStreamFactory extends java.lang.Object implements InputStreamFactory
A factory that createsMarkableFileInputStream
from aFile
-
-
Constructor Summary
Constructors Constructor Description MarkableFileInputStreamFactory(java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
createInputStream()
-
-
-
Method Detail
-
createInputStream
public java.io.InputStream createInputStream() throws java.io.IOException
- Specified by:
createInputStream
in interfaceInputStreamFactory
- Throws:
java.io.IOException
-
-