com.ssh.sft
Interface Policies.Remove

All Known Subinterfaces:
Policies.All, Policies.Move, Policies.MoveDir, Policies.RemoveDir
All Known Implementing Classes:
AbstractPolicy
Enclosing interface:
Policies

public static interface Policies.Remove

The policy interface for removing files.


Method Summary
 booleanremove(File file)
          Invoked when a file is about to be removed.
 

Method Detail

remove

public boolean remove(File file)
               throws AbortedException
Invoked when a file is about to be removed.

Parameters:
file - The file to be removed
Returns:
true if the file may be removed, false otherwise
Throws:
AbortedException - if the entire ongoing operation should be aborted