import com.mindprod.untouch; /** * Set TimeStamps on a file. * * @param filename Name of file to change dates on. * @param whenFileCreated * timestamp milliseconds since 1970 GMT. * Date the file was created. * 0 means leave as is. * @param whenFileLastAccessed * timestamp milliseconds since 1970 GMT. * Date the file was last read. * 0 means leave as is. * * @param whenFileLastUpdated * timestamp milliseconds since 1970 GMT. * Date the file was last written. * 0 means leave as is. * * @return return true if all went ok */ public static boolean setFileTimes ( String filename , long whenFileCreated, long whenFileLastAccessed , long whenFileLastUpdated );