org.apache.commons.vfs2
public interface FileListener
Modifier and Type | Method and Description |
---|---|
void |
fileChanged(FileChangeEvent event)
Called when a file is changed.
This will only happen if you monitor the file using FileMonitor . |
void |
fileCreated(FileChangeEvent event)
Called when a file is created.
|
void |
fileDeleted(FileChangeEvent event)
Called when a file is deleted.
|
void fileCreated(FileChangeEvent event) throws java.lang.Exception
event
- The FileChangeEvent.java.lang.Exception
- if an error occurs.void fileDeleted(FileChangeEvent event) throws java.lang.Exception
event
- The FileChangeEvent.java.lang.Exception
- if an error occurs.void fileChanged(FileChangeEvent event) throws java.lang.Exception
FileMonitor
.event
- The FileChangeEvent.java.lang.Exception
- if an error occurs.Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.