Java Stream Close closeStream(final Closeable stream)

Here you can find the source of closeStream(final Closeable stream)

Description

close Stream

License

Open Source License

Declaration

private static void closeStream(final Closeable stream) throws IOException 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.io.*;

public class Main {
    private static void closeStream(final Closeable stream) throws IOException {
        stream.close();/* w  w w.ja v a2 s.  c om*/
    }
}

Related

  1. closeStream(Closeable stream)
  2. closeStream(Closeable stream)
  3. closeStream(Closeable... closeable)
  4. closeStream(Closeable... streams)
  5. closeStream(FileInputStream in)
  6. closeStream(final InputStream in)
  7. closeStream(final InputStream stream)
  8. closeStream(final java.io.Closeable stream)
  9. closeStream(final Object stream)