public static TempPath createDirectory(Path dir) throws IOException {
  return wrap(Files.createTempDirectory(dir,PREFIX));
}

public static TempPath createDirectory ( Path dir ) throws IOException { return wrap ( Files . createTempDirectory ( dir , PREFIX ) ) ; }
creates a new temporary directory in the specified directory .
