Class MarkableFileInputStreamFactory

Namespace
NOpenNLP.Tools.Util
Assembly
NOpenNLP.Tools.dll

A factory that creates NOpenNLP.Tools.Util.MarkableFileInputStream from a FileInfo.

public class MarkableFileInputStreamFactory : IInputStreamFactory
Inheritance
MarkableFileInputStreamFactory
Implements
Inherited Members

Constructors

MarkableFileInputStreamFactory(FileInfo)

public MarkableFileInputStreamFactory(FileInfo file)

Parameters

file FileInfo

Exceptions

FileNotFoundException

if the file does not exist

Methods

CreateInputStream()

public Stream CreateInputStream()

Returns

Stream

Exceptions

IOException

if the stream cannot be created