How do I impliment a clock/timer in Java? -
how impliment clock/timer in java? have program saves file data in memory future use. i'd add timer check time file created , when has changed. current time - cached time = duration
it sounds want check file's metadata , compare systems time. getlastmodifiedtime , setlastmodifiedtime method sound need.
you can read here.
Comments
Post a Comment