Or more specifically, how to create a new folder with a random name in scala?
In Java the code was this:
val folderPath: Path = Paths.get("src/test/resources/test-documents/")
val tmpDir: Path = Files.createTempDirectory(folderPath, null)
thanks to all
The same calls will work in Scala. All of the Java APIs are interoperable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With