ConForM.CoopnTools.CoKer
Class CoopnTimestamp

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.CoopnTimestamp
All Implemented Interfaces:
java.lang.Cloneable

public class CoopnTimestamp
extends java.lang.Object
implements java.lang.Cloneable

CO-OPN timestamps. Objects of this class encapsulate a file timestamp.


Constructor Summary
CoopnTimestamp(java.io.File file)
          Simple constructor.
 
Method Summary
 java.lang.Object clone()
          Returns a clone timestamp.
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 boolean sooner(CoopnTimestamp t)
           
 boolean sooner(java.io.File f)
           
 void update()
          update the timestamp with regards to the actual time-stamp of the file.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoopnTimestamp

public CoopnTimestamp(java.io.File file)
               throws java.lang.IllegalArgumentException
Simple constructor.
Parameters:
file - a file
Method Detail

update

public void update()
update the timestamp with regards to the actual time-stamp of the file.

sooner

public boolean sooner(CoopnTimestamp t)

sooner

public boolean sooner(java.io.File f)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

public java.lang.Object clone()
Returns a clone timestamp.
Overrides:
clone in class java.lang.Object