Here you can find the source of createTemporaryOutputFolder()
public static Path createTemporaryOutputFolder() throws IOException
//package com.java2s; //License from project: Apache License import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; public class Main { public static Path createTemporaryOutputFolder() throws IOException { Path tmp = Files.createTempDirectory("glove-test-dir"); tmp.toFile().deleteOnExit();/*w w w . j a va2 s . co m*/ return tmp; } }