This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importClass(org.nrg.xnat.turbine.utils.ArcSpecManager); | |
importPackage(java.io); | |
var cache = org.nrg.xnat.turbine.utils.ArcSpecManager.GetInstance().getCachePathForProject(externalId); | |
var file = new java.io.File(cache, "haiku.txt"); | |
var writer = new java.io.PrintWriter(new FileWriter(file)); | |
writer.println("Into the ancient pond"); | |
writer.println("A frog jumps"); | |
writer.println("Waters sound!"); |