Class StreamUtil


  • public class StreamUtil
    extends java.lang.Object
    StreamUtil
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void safeClose​(java.io.Closeable stream)
      Close safely a stream
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • safeClose

        public static void safeClose​(java.io.Closeable stream)
        Close safely a stream
        Parameters:
        stream - The stream