/** * Called when a file is changed. * <p> * This will only happen if you monitor the file using {@link org.apache.commons.vfs2.FileMonitor}. * * @param event The FileChangeEvent. * @throws Exception if an error occurs. */ @Override public void fileChanged(final FileChangeEvent event) throws Exception { if (event.getFile() != file) { return; } if (!ignoreEvent) { handleChanged(); } }
/** * Called when a file is changed. * <p> * This will only happen if you monitor the file using {@link org.apache.commons.vfs2.FileMonitor}. * * @param event The FileChangeEvent. * @throws Exception if an error occurs. */ @Override public void fileChanged(final FileChangeEvent event) throws Exception { if (event.getFile() != file) { return; } if (!ignoreEvent) { handleChanged(); } }
/** * Called when a file is changed. * <p> * This will only happen if you monitor the file using {@link org.apache.commons.vfs2.FileMonitor}. * * @param event The FileChangeEvent. * @throws Exception if an error occurs. */ @Override public void fileChanged(final FileChangeEvent event) throws Exception { if (event.getFile() != file) { return; } if (!ignoreEvent) { handleChanged(); } }
/** * Called when a file is changed. * <p> * This will only happen if you monitor the file using {@link org.apache.commons.vfs2.FileMonitor}. * * @param event The FileChangeEvent. * @throws Exception if an error occurs. */ @Override public void fileChanged(final FileChangeEvent event) throws Exception { if (event.getFile() != file) { return; } if (!ignoreEvent) { handleChanged(); } }