org.apache.maven.shared.utils.io
Class WalkCollector

java.lang.Object
  extended by org.apache.maven.shared.utils.io.WalkCollector
All Implemented Interfaces:
DirectoryWalkListener

public class WalkCollector
extends Object
implements DirectoryWalkListener


Constructor Summary
WalkCollector()
           
 
Method Summary
 void debug(String message)
           
 void directoryWalkFinished()
          The directory walking has finished.
 void directoryWalkStarting(File basedir)
          The directory walking has begun.
 void directoryWalkStep(int percentage, File file)
          The included entry that was encountered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WalkCollector

public WalkCollector()
Method Detail

debug

public void debug(String message)
Specified by:
debug in interface DirectoryWalkListener

directoryWalkStarting

public void directoryWalkStarting(File basedir)
Description copied from interface: DirectoryWalkListener
The directory walking has begun.

Specified by:
directoryWalkStarting in interface DirectoryWalkListener
Parameters:
basedir - the basedir that walk started in.

directoryWalkStep

public void directoryWalkStep(int percentage,
                              File file)
Description copied from interface: DirectoryWalkListener
The included entry that was encountered.

Specified by:
directoryWalkStep in interface DirectoryWalkListener
Parameters:
percentage - rough percentage of the walk completed. (inaccurate)
file - the file that was included.

directoryWalkFinished

public void directoryWalkFinished()
Description copied from interface: DirectoryWalkListener
The directory walking has finished.

Specified by:
directoryWalkFinished in interface DirectoryWalkListener


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.