List of utility methods to do Lock File Get
String tempDir = System.getProperty("java.io.tmpdir"); String fileName = "iz-" + applicationName + ".tmp"; return new File(tempDir, fileName);