Hello, if it helps, I use Common's IO AutoCloseInputStream to decorate (enclose) the InputStream, that way when the thing is done with the Stream, it's closed automatically, no need to call close() explicitly on the stream.
On Sun, Oct 11, 2009 at 3:03 AM, Jukka Zitting <[email protected]> wrote: > Hi, > > On Sat, Oct 10, 2009 at 10:20 PM, Ben Short <[email protected]> wrote: >> Should I close the inputstream obtained to read the data from a >> jcr:data property? > > Yes. > > BR, > > Jukka Zitting > -- Fabián Mandelbaum IS Engineer
