All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Interface org.jos.fs.FileSystemListener

public interface FileSystemListener
extends EventListener
"Entity" refers to a directory, file or branch (directory with subdirectories, contents, subdirectory contents etc.).

This interface will probably undergo some changes.

Version:
JOS-FileSystem 4 Preview (25-Mar-98)
Author:
Stefan Reich

Method Index

 o entityChanged(FileSystemEvent)
 o entityCreated(FileSystemEvent)
 o entityDeleted(FileSystemEvent)
 o entityRenamed(FileSystemEvent)
renamed or moved, to be exact

evt.getPath() gives old name, evt.getNewPath() gives new name

Methods

 o entityCreated
public abstract void entityCreated(FileSystemEvent evt)
 o entityDeleted
public abstract void entityDeleted(FileSystemEvent evt)
 o entityRenamed
public abstract void entityRenamed(FileSystemEvent evt)
renamed or moved, to be exact

evt.getPath() gives old name, evt.getNewPath() gives new name

 o entityChanged
public abstract void entityChanged(FileSystemEvent evt)

All Packages  Class Hierarchy  This Package  Previous  Next  Index