Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.vfs
Interface FileListener

All Known Implementing Classes:
  DelegateFileObject

public interface FileListener

Listens for changes to a file.

Version:
  $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
Author:
  Adam Murdoch

Method Summary
`void` | `fileChanged(FileChangeEvent event)` Called when a file is changed.
`void` | `fileCreated(FileChangeEvent event)` Called when a file is created.
`void` | `fileDeleted(FileChangeEvent event)` Called when a file is deleted.

Method Detail

### fileCreated

    public void fileCreated(FileChangeEvent event)
                     throws Exception

  Called when a file is created.

  Throws:
    `Exception`

### fileDeleted

    public void fileDeleted(FileChangeEvent event)
                     throws Exception

  Called when a file is deleted.

  Throws:
    `Exception`

### fileChanged

    public void fileChanged(FileChangeEvent event)
                     throws Exception

  Called when a file is changed.
  This will only happen if you monitor the file using `FileMonitor`.

  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.