@Override public void fileAttributeChanged(FileAttributeEvent fe) { FileChangeListener listener = get(fe, false); if (listener == null) { return; } listener.fileAttributeChanged(fe); }
public void fileAttributeChanged(FileAttributeEvent fe) { if (fe.getSource() == current) { if (isOnTarget) { FileChangeListener listener = get(); if (listener != null) { listener.fileAttributeChanged(fe); } } } }
public void fileAttributeChanged(FileAttributeEvent fe) { FileObject thisFo = this.get(); if (thisFo != null && FileUtil.isParentOf(thisFo, fe.getFile())) { fcl.fileAttributeChanged(fe); } }
break; case ATTR_CHANGED: fcl.fileAttributeChanged((FileAttributeEvent) fe); break; default:
/** Fired when a file attribute has been changed. * @param ev the event describing context where action has taken place, * the name of attribute and old and new value. */ public void fileAttributeChanged (FileAttributeEvent ev) { FileChangeListener l = (FileChangeListener)super.get (ev); if (l != null) l.fileAttributeChanged (ev); }
/** Fired when a file attribute has been changed. * @param ev the event describing context where action has taken place, * the name of attribute and old and new value. */ public void fileAttributeChanged (FileAttributeEvent ev) { FileChangeListener l = (FileChangeListener)super.get (ev); if (l != null) l.fileAttributeChanged (ev); }
break; case FILE_ATTRIBUTE_CHANGED: external.fileAttributeChanged((FileAttributeEvent)fe); break; case FOLDER_CREATED:
final static void dispatchEvent (FileChangeListener fcl, FileEvent fe, int operation) { switch( operation ) { case FCLSupport.DATA_CREATED: fcl.fileDataCreated (fe); break; case FCLSupport.FOLDER_CREATED: fcl.fileFolderCreated (fe); break; case FCLSupport.FILE_CHANGED: fcl.fileChanged (fe); break; case FCLSupport.FILE_DELETED: fcl.fileDeleted (fe); break; case FCLSupport.FILE_RENAMED: fcl.fileRenamed ((FileRenameEvent)fe); break; case FCLSupport.ATTR_CHANGED: fcl.fileAttributeChanged ((FileAttributeEvent)fe ); break; } }
final static void dispatchEvent (FileChangeListener fcl, FileEvent fe, int operation) { switch( operation ) { case FCLSupport.DATA_CREATED: fcl.fileDataCreated (fe); break; case FCLSupport.FOLDER_CREATED: fcl.fileFolderCreated (fe); break; case FCLSupport.FILE_CHANGED: fcl.fileChanged (fe); break; case FCLSupport.FILE_DELETED: fcl.fileDeleted (fe); break; case FCLSupport.FILE_RENAMED: fcl.fileRenamed ((FileRenameEvent)fe); break; case FCLSupport.ATTR_CHANGED: fcl.fileAttributeChanged ((FileAttributeEvent)fe ); break; } }