PDAP Public Review Draft

javax.microedition.io
Interface FileSystemListener


public interface FileSystemListener

This class is used for receiving a FileSystemEvent while adding or removing a file system root. This can be achieved by inserting or removing a card from a device or by mounting or unmounting file systems to a device.

Since:
PDAP 1.0
See Also:
FileConnection

Method Summary
 void rootAdded(FileSystemEvent e)
          This method is invoked when a root is added to the filesystem.
 void rootRemoved(FileSystemEvent e)
          This method is invoked when a root is removed from the filesystem.
 

Method Detail

rootAdded

public void rootAdded(FileSystemEvent e)
This method is invoked when a root is added to the filesystem.
Parameters:
e - An event describing the addition of the root.

rootRemoved

public void rootRemoved(FileSystemEvent e)
This method is invoked when a root is removed from the filesystem.
Parameters:
e - An event describing the removal of the root.

PDAP 1.0 Spec, Rev. 0.16