org.apache.tools.ant.types.resources

Interface Touchable

Known Implementing Classes:
FileResource

public interface Touchable

Interface to be implemented by "touchable" resources; that is, those whose modification time can be altered.
Since:
Ant 1.7

Method Summary

void
touch(long modTime)
Method called to "touch" the resource.

Method Details

touch

public void touch(long modTime)
Method called to "touch" the resource.
Parameters:
modTime - the time to set the modified "field" of the resource, measured in milliseconds since the epoch.