Package opennlp.tools.util
Class MarkableFileInputStreamFactory
java.lang.Object
opennlp.tools.util.MarkableFileInputStreamFactory
- All Implemented Interfaces:
- InputStreamFactory
A factory that creates 
MarkableFileInputStream from a File- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
MarkableFileInputStreamFactoryInitializes aMarkableFileInputStreamFactory.- Parameters:
- file- The- Fileused as input source.
- Throws:
- FileNotFoundException- Thrown if- filecould not be found.
 
 
- 
- 
Method Details- 
createInputStream- Specified by:
- createInputStreamin interface- InputStreamFactory
- Returns:
- A valid, open InputStreaminstance.
- Throws:
- IOException- Thrown if IO errors occurred.
 
 
-