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