public static interface DataSource.ReaderOpener
Modifier and Type | Method and Description |
---|---|
Reader |
openOnce()
Open the stream once.
|
Reader openOnce() throws IOException
Beware that this interface is only intended for lazy opening a stream, i.e. to delay this opening (or not open the stream at all). It is not intended to open the stream several times. Some implementations may fail if an attempt to open a stream several times is made. This is particularly true for network-based streams.
IOException
- if stream cannot be openedCopyright © 2002-2023 CS GROUP. All rights reserved.