Java Stream Close closeQuietly(InputStream c)

Here you can find the source of closeQuietly(InputStream c)

Description

close Quietly

License

Apache License

Declaration

public static void closeQuietly(InputStream c) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.io.InputStream;

public class Main {
    public static void closeQuietly(InputStream c) {
        try {/*from   w  w  w. j ava  2  s .  c o  m*/
            c.close();
        } catch (Exception e) {
        }
    }
}

Related

  1. closeQuietly(final InputStream inputStream)
  2. closeQuietly(final Reader reader)
  3. closeQuietly(final ZipFile... zipFiles)
  4. closeQuietly(ImageInputStream ins)
  5. closeQuietly(ImageReader iReader)
  6. closeQuietly(InputStream in)
  7. closeQuietly(InputStream in)
  8. closeQuietly(InputStream input)
  9. closeQuietly(InputStream input)