Class FileWriter

java.lang.Object
eu.bandm.tools.testsupport.FileWriter

public class FileWriter extends Object
  • Constructor Details

    • FileWriter

      public FileWriter()
  • Method Details

    • writeFile

      public static void writeFile(File testDir, String fileName, String... lines)
      Write the strings into a file with the given name in the given directory, in UTF_8 encoding.
    • writeTmpFile

      public static File writeTmpFile(String fileName, String... lines)
      Write the string into a file with the given name, in some temp directory.
      Returns:
      the temp directory
    • createTmpDir

      public static File createTmpDir(String stem)
      Returns:
      the temp directory