All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nuiton.io.FileUpdater Maven / Gradle / Ivy

There is a newer version: 2.4.1
Show newest version
package org.nuiton.io;

/*
 * #%L
 * Helper Maven Plugin :: API
 * $Id: FileUpdater.java 876 2012-11-11 08:14:19Z tchemit $
 * $HeadURL: http://svn.nuiton.org/svn/maven-helper-plugin/tags/maven-helper-plugin-2.1/helper-maven-plugin-api/src/main/java/org/nuiton/io/FileUpdater.java $
 * %%
 * Copyright (C) 2009 - 2012 Codelutin, Tony Chemit
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as 
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 * 
 * You should have received a copy of the GNU General Lesser Public 
 * License along with this program.  If not, see
 * .
 * #L%
 */

import java.io.File;

/**
 * Contract to be realized to test if a file is up to date.
 * 

* use {@link #isFileUpToDate(File)} to determine if a file is up to date. * * @author tchemit */ public interface FileUpdater { /** * @param f file to test * @return {@code true} if file is up to date, {@code false} otherwise. */ boolean isFileUpToDate(File f); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy