ConForM.CoopnTools.CoKer.PackageMgr
Interface FileObserver


public interface FileObserver

File observer. This interface define observers, which are notified by the package manager it detects that a module (identified by its name and type) has a new associated file.


Method Summary
 void notifyFileChanged(java.lang.String moduleName, int moduleKind, java.io.File moduleFile)
          Notification routine.
 

Method Detail

notifyFileChanged

public void notifyFileChanged(java.lang.String moduleName,
                              int moduleKind,
                              java.io.File moduleFile)
Notification routine. This routine is called by the package manager - if the file listener is registrated - each time the package manager decides that the file associated to a module is modified.
Parameters:
moduleName - the name of the module.
moduleKind - the kind of the module.
moduleFile - the new File associated to the module.