Thanks for the library. It would be great if resources that can be closed (Such as VorbisFile) could implement java.io.Closeable or even better java.lang.AutoCloseable (Java 7 only though).
It would make it a lot easier to deal with them using Apache Commons-IO IOUtils.closeQuietly() or the try-with-resources pattern, rather having to nest multiple try/catch ...
Hi,
Thanks for the library. It would be great if resources that can be closed (Such as
VorbisFile
) could implementjava.io.Closeable
or even betterjava.lang.AutoCloseable
(Java 7 only though).It would make it a lot easier to deal with them using Apache Commons-IO
IOUtils.closeQuietly()
or the try-with-resources pattern, rather having to nest multiple try/catch ...Thanks,
Nico