bb.io.filefilter
Interface FileFilterListener


public interface FileFilterListener

Defines callback methods for a listener class interested in File accept/reject events.

Author:
Brent Boyer

Method Summary
 void accepted(File file, String msg)
          Called when file has just been accepted by a filter.
 void rejected(File file, String msg)
          Called when file has just been rejected by a filter.
 

Method Detail

accepted

void accepted(File file,
              String msg)
Called when file has just been accepted by a filter.

Parameters:
file - the File which was just accepted
msg - optional message concerning how or why file was accepted; may be null

rejected

void rejected(File file,
              String msg)
Called when file has just been rejected by a filter.

Parameters:
file - the File which was just rejected
msg - optional message concerning how or why file was rejected; may be null