Created
August 25, 2014 13:50
-
-
Save hacke2/43a60d9e44fe294958a6 to your computer and use it in GitHub Desktop.
项目实战之Quartz与Spring整合进行热部署的设计与实现
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static long curModifiedTime; | |
static { | |
try { | |
curModifiedTime = new File(filePath).lastModified(); | |
System.out.println("当前文件修改时间为 " +curModifiedTime); | |
} catch (Exception e) { | |
e.printStackTrace(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment