Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.


com.ssh.sft
Interface Policies.Dir

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

public static interface Policies.Dir

The policy interface for recursive operations on directories.


Method Summary
 voidcomplete(Location loc, SftException error)
           
 booleanenterDir(Directory dir)
          Invoked when a directory is about to be entered and its contents are to be processed.
 voidleaveDir(Directory dir)
          Invoked when the recursive processing of a directory has finished.
 voidlist(File file)
           
 

Method Detail

enterDir

public boolean enterDir(Directory dir)
Invoked when a directory is about to be entered and its contents are to be processed.

Parameters:
dir - the directory to be entered
Returns:
true if the directory should be entered, false otherwise
Throws:
AbortedException - if the entire ongoing operation should be aborted

leaveDir

public void leaveDir(Directory dir)
Invoked when the recursive processing of a directory has finished. This is only a notification.

Parameters:
dir - the directory that is left

list

public void list(File file)

complete

public void complete(Location loc,
                     SftException error)
              throws SftException
Throws:
SftException


===AUTO_SCHEMA_MARKUP===