edu.mit.jwi
Interface IRAMDictionary.IInputStreamFactory
- All Known Implementing Classes:
- IRAMDictionary.FileInputStreamFactory, IRAMDictionary.URLInputStreamFactory
- Enclosing interface:
- IRAMDictionary
public static interface IRAMDictionary.IInputStreamFactory
An input stream factory is used by certain constructors of the
RAMDictionary
class to provide source data to load the dictionary
into memory from a stream. Using this interface allows the dictionary to
be closed and reopened again. Therefore the expectation is that
the makeInputStream()
method may be called multiple times
without throwing an exception.
- Since:
- JWI 2.4.0
- Version:
- 2.4.0
- Author:
- Mark A. Finlayson
Method Summary |
java.io.InputStream |
makeInputStream()
Returns a new input stream from this factory. |
makeInputStream
java.io.InputStream makeInputStream()
throws java.io.IOException
- Returns a new input stream from this factory.
- Returns:
- a new, unused input stream from this factory.
- Throws:
java.io.IOException
- Since:
- JWI 2.4.0
Copyright © 2007-2013 Massachusetts Institute of Technology. All Rights Reserved.