public static class IRAMDictionary.FileInputStreamFactory extends Object implements IRAMDictionary.IInputStreamFactory
IRAMDictionary.IInputStreamFactory interface which
creates an input stream from a specified File object.| Constructor and Description |
|---|
FileInputStreamFactory(File file)
Creates a FileInputStreamFactory that uses the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
makeInputStream()
Returns a new input stream from this factory.
|
protected final File file
public FileInputStreamFactory(File file)
file - the file from which the input streams should be created;
may not be nullNullPointerException - if the specified file is nullpublic InputStream makeInputStream() throws IOException
IRAMDictionary.IInputStreamFactorymakeInputStream in interface IRAMDictionary.IInputStreamFactoryIOExceptionCopyright © 2018. All rights reserved.