to.etc.domui.util.resources
Class ResourceTimestamp
java.lang.Object
to.etc.domui.util.resources.ResourceTimestamp
- All Implemented Interfaces:
- IIsModified
public final class ResourceTimestamp
- extends java.lang.Object
- implements IIsModified
Holds the last-modified timestamp for some source "file" used in some production at the time
it was used; plus a reference to that file so it's /original/ change time can be determined.
- Author:
- Frits Jalvingh
Created on May 22, 2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ResourceTimestamp
public ResourceTimestamp(IModifyableResource ref,
long ts)
isModified
public boolean isModified()
- Description copied from interface:
IIsModified
- Returns T if this resource has been modified. Must be thread-safe.
- Specified by:
isModified
in interface IIsModified
- Returns:
getRef
public IModifyableResource getRef()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object