| Get an open stream. You are responsible for closing it. Consider using
something like:
InputStream stream = stream.getStream();
try {
// use the stream...
}
finally {
IOUtils.closeQuietly(reader);
}
Only the first call to getStream() or getReader()
is gaurenteed to work. The runtime behavior for aditional calls is undefined.
|