Package eu.bandm.tools.testsupport
Class FileWriter
java.lang.Object
eu.bandm.tools.testsupport.FileWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FilecreateTmpDir(String stem) static voidWrite the strings into a file with the given name in the given directory, in UTF_8 encoding.static FilewriteTmpFile(String fileName, String... lines) Write the string into a file with the given name, in some temp directory.
-
Constructor Details
-
FileWriter
public FileWriter()
-
-
Method Details
-
writeFile
Write the strings into a file with the given name in the given directory, in UTF_8 encoding. -
writeTmpFile
Write the string into a file with the given name, in some temp directory.- Returns:
- the temp directory
-
createTmpDir
- Returns:
- the temp directory
-