Here you can find the source of closeInput(InputStream src)
static void closeInput(InputStream src) throws IOException
//package com.java2s; /* Copyright 2015 Google Inc. All Rights Reserved. /* w w w . j a v a 2 s. c om*/ Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ import java.io.IOException; import java.io.InputStream; public class Main { static void closeInput(InputStream src) throws IOException { src.close(); } }