org.apache.tuscany.sca.cpp.tools.services
Class DirectoryScanner

java.lang.Object
  extended byorg.apache.tuscany.sca.cpp.tools.services.DirectoryScanner

public class DirectoryScanner
extends java.lang.Object


Constructor Summary
DirectoryScanner(FileActor actor, java.util.Set extensions)
           
 
Method Summary
 void walkTree(java.io.File source, java.io.File target, int depth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryScanner

public DirectoryScanner(FileActor actor,
                        java.util.Set extensions)
Method Detail

walkTree

public void walkTree(java.io.File source,
                     java.io.File target,
                     int depth)
              throws java.lang.Exception
Parameters:
source - The module root directory
target - The directory that will holdthe generated output
depth - The depth from the inial starting point, not significant for the Scagen tool as we are only interested in the module root directory but present due to the inherited actOnFile interface whcih come from the oreg.apache.axis.tools practice This interface has been left unchanged as we hope to reconverge the parser here with the original one once the changes are fed back into the original code.
Throws:
java.lang.Exception


Copyright 2005 The Apache Software Foundation and Copyright IBM Corp. 2005 All Rights Reserved