Java Stream Close closeInput(InputStream src)

Here you can find the source of closeInput(InputStream src)

Description

close Input

License

Open Source License

Declaration

static void closeInput(InputStream src) throws IOException 

Method Source Code


//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();
    }
}

Related

  1. closeIgnoringException(final Closeable closeable)
  2. closeIgnoringExceptions(Closeable c)
  3. closeIgnoringExceptions(Closeable c)
  4. closeImage()
  5. closeIncludeGuard(String name, PrintWriter writer)
  6. closeInputStream(DataInputStream di)
  7. closeInputStream(InputStream in)
  8. closeInputStream(InputStream inp)
  9. closeInputStream(InputStream inputStream)