public interface InputStreamProvider
AbstractDataSource
's to load contents on demand.
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream()
This method returns an
InputStream representing the data and throws the
appropriate exception if it can not do so. |
java.io.InputStream getInputStream() throws java.io.IOException
InputStream
representing the data and throws the
appropriate exception if it can not do so.
Note that a new InputStream
object must be returned each time this method
is called, and the stream must be positioned at the beginning of the data.
java.io.IOException
- If an error occurredjava.lang.NullPointerException
- If the loaded content is null
Copyright © 2005-2023 Leisenfels GmbH. All rights reserved.