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

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

Introduction

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

Prototype

public long getLength() 

Source Link

Document

Return the length.

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();
}