FileChangeListener.java :  » Development » jodd » jodd » io » Java Open Source

Java Open Source » Development » jodd 
jodd » jodd » io » FileChangeListener.java
// Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.

package jodd.io;

import java.io.File;

/**
 * Interface for listening to disk file changes.
 * @see jodd.io.FileMonitor
 */
public interface FileChangeListener {

  /**
   * Invoked when one of the monitored files is created, deleted or modified.
   */
  void onFileChange(File file);

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.