advanced code snippet search
alejandrosuch on 04/12/10
file java temp
04/12/10 09:36am
private String getTmpFileName() { String tmpdir = System.getProperty(JAVA_IO_TMPDIR); String separador = System.getProperty(FILE_SEPARATOR); if(!tmpdir.endsWith(separador)){ tmpdir+= separador; } return tmpdir+"tmp_"+UUIDGenFactory.getUUIDGen().nextUUID()+".tmp"; }
Report this snippet Tweet
Comment:
You need to login to post a comment.