Do I need to close the input stream manually after using IOUtils.toString(input) of commons-io?

The javadoc says:

Wherever possible, the methods in this class do not flush or close the stream. This is to avoid making non-portable assumptions about the streams’ origin and further use. Thus the caller is still responsible for closing streams after use.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)