Skip to content

Instantly share code, notes, and snippets.

@hacke2
Created August 25, 2014 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hacke2/43a60d9e44fe294958a6 to your computer and use it in GitHub Desktop.
Save hacke2/43a60d9e44fe294958a6 to your computer and use it in GitHub Desktop.
项目实战之Quartz与Spring整合进行热部署的设计与实现
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