public static java.io.File fileGetTmp() { java.io.File tmp = null; try { tmp = java.io.File.createTempFile("temp", null); } catch (java.io.IOException ex) { Ts.printErr(ex); } tmp.deleteOnExit(); return tmp; } public static void printErr(java.lang.Exception ex) { Ts.printErr(ex.getMessage()); } public static void printErr(String str) { System.out.println("---> error : " + str); new Exception().printStackTrace(); System.exit(-1); }