Example usage for org.apache.commons.io.monitor FileEntry getLastModified

List of usage examples for org.apache.commons.io.monitor FileEntry getLastModified

Introduction

In this page you can find the example usage for org.apache.commons.io.monitor FileEntry getLastModified.

Prototype

public long getLastModified() 

Source Link

Document

Return the last modified time from the last time it was checked.

Usage

From source file:dtool.engine.ModuleParseCache.java

public static boolean hasBeenModified(FileEntry originalAttributes, FileEntry newAttributes) {
    return originalAttributes == null || originalAttributes.getLastModified() != newAttributes.getLastModified()
            || originalAttributes.getLength() != newAttributes.getLength();
}