Sorry - this was a silly question - I just had to close the file that
getStreamBytes was called with.

- K

"Kevin Day" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Just checking to make sure I'm not off base on this:
>
> When I call the getStreamBytes() method, a file gets opened:
>
> file.seek(stream.getOffset());
>
> file.readFully(b);
>
>
>
> But it doesn't look like it ever gets closed.  This (I think) causes a
> resource leak.  Unless there is some way that I should be closing the file
> after calling getStreamBytes()?
>
>
>
> Thanks much!
>
> - Kevin
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/





-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to