commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <>
Subject Re: [IO] encapsulating open/close
Date Wed, 04 Aug 2010 14:12:44 GMT

On Wed, Aug 4, 2010 at 12:27 PM,  <> wrote:
> Wanted is a convenience method that hides the opening and closing of a file
> connection. This would avoid redundancy and failures by accidently not
> closing the file connection. I have implemented this before, but now I want
> to use apache commons io and I am asking why this isn't there. I could
> contribute this.

Not sure if this is exactly what you're looking for, but have you seen
the AutoCloseInputStream [1] class?



Jukka Zitting

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message