Class IoUtils


  • public class IoUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IoUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long copy​(java.io.InputStream input, java.io.OutputStream output)  
      static java.io.File copyInTempFile​(java.io.InputStream input, java.lang.String fileExtension)  
      static java.io.File getTmpDirectory()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IoUtils

        public IoUtils()
    • Method Detail

      • copyInTempFile

        public static java.io.File copyInTempFile​(java.io.InputStream input,
                                                  java.lang.String fileExtension)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • copy

        public static long copy​(java.io.InputStream input,
                                java.io.OutputStream output)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTmpDirectory

        public static java.io.File getTmpDirectory()