org.apache.ode.utils
Class WatchDog.FileMutable

java.lang.Object
  extended by org.apache.ode.utils.WatchDog.FileMutable
All Implemented Interfaces:
WatchDog.Mutable<java.lang.Long>
Enclosing class:
WatchDog<T,C extends WatchDog.Observer>

public static class WatchDog.FileMutable
extends java.lang.Object
implements WatchDog.Mutable<java.lang.Long>


Constructor Summary
WatchDog.FileMutable(java.io.File file)
           
 
Method Summary
 boolean exists()
           
 boolean hasChangedSince(java.lang.Long since)
           
 java.lang.Long lastModified()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WatchDog.FileMutable

public WatchDog.FileMutable(java.io.File file)
Method Detail

exists

public boolean exists()
Specified by:
exists in interface WatchDog.Mutable<java.lang.Long>

hasChangedSince

public boolean hasChangedSince(java.lang.Long since)
Specified by:
hasChangedSince in interface WatchDog.Mutable<java.lang.Long>

lastModified

public java.lang.Long lastModified()
Specified by:
lastModified in interface WatchDog.Mutable<java.lang.Long>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object