to.etc.domui.util.resources
Class ResourceTimestamp

java.lang.Object
  extended by 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

Constructor Summary
ResourceTimestamp(IModifyableResource ref, long ts)
           
 
Method Summary
 IModifyableResource getRef()
           
 boolean isModified()
          Returns T if this resource has been modified.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceTimestamp

public ResourceTimestamp(IModifyableResource ref,
                         long ts)
Method Detail

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