Class IOUtils


  • public class IOUtils
    extends Object
    • Constructor Detail

      • IOUtils

        public IOUtils()
    • Method Detail

      • copy

        public static void copy​(InputStream in,
                                OutputStream out,
                                boolean close)
                         throws IOException
        Copies the input stream to the output stream
        Parameters:
        in - the InputStream
        out - the OutputStream
        close - close input and output stream
        Throws:
        IOException