Results 1 to 2 of 2
Thread: Implementing timestamp listener
- 06-06-2012, 09:48 PM #1
Member
- Join Date
- Aug 2011
- Posts
- 58
- Rep Power
- 0
- 06-06-2012, 09:55 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,609
- Rep Power
- 5
Re: Implementing timestamp listener
A File changing is at the OS level. If you are using java 7, you can watch for directory changes
https://blogs.oracle.com/thejavatuto...ry_for_changes
If not, you will need to launch a thread that polls the last modified timestamp periodically, and act accordingly when it changes.
Similar Threads
-
Action-Listener with multiple Arguments? (Button Listener, specifically)
By Kevinw778 in forum AWT / SwingReplies: 2Last Post: 12-11-2011, 10:44 PM -
Implementing an event listener?
By jammas615 in forum Java 2DReplies: 3Last Post: 07-04-2011, 04:15 PM -
XML signature with TimeStamp
By Alonso in forum New To JavaReplies: 5Last Post: 02-14-2011, 12:36 PM -
Timestamp Issue
By hacktorious in forum Advanced JavaReplies: 2Last Post: 12-19-2010, 06:03 AM -
how to compare two timestamp
By baktha.thalapathy in forum New To JavaReplies: 1Last Post: 06-11-2010, 10:05 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks