Android Utililty Methods InputStream Close

List of utility methods to do InputStream Close

Description

The list of methods to do InputStream Close are organized into topic(s).

Method

voidcloseStreamIgnoreExpection(InputStream stream)
close Stream Ignore Expection
try {
    if (stream != null) {
        stream.close();
} catch (Exception e) {
voidsafeClose(InputStream is)
Close object safely
try {
    if (is != null)
        is.close();
} catch (Exception e) {
    e.printStackTrace();