| Interface to a streamed resource. The resource stream can be retrieved by
calling getInputStream(), but the resource should later be closed by calling
close() on the IResourceStream (as opposed to calling close on the
InputStream returned by getInputStream()).
Once a resource has been closed with a call to close(), it is normally
possible to call getInputStream() again to retrieve a new input stream on the
same resource.
Implementations of this interface are typically unsafe for use from multiple
threads.
author: Jonathan Locke |