Object FileWriteTools.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final File createTempDir(String seed) Create a temporary directory using the given seed
      final File extractZipFile(File zipFile, File tempDir, Boolean delete) Extract zip file to a temporary directory
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • extractZipFile

         final File extractZipFile(File zipFile, File tempDir, Boolean delete)

        Extract zip file to a temporary directory

        Parameters:
        zipFile - the zip file to extract
        tempDir - directory to extract it under
        delete - if true, delete the zip file after extraction
        Returns:

        the path to the extracted file content