org.apache.maven.ashkelon
Class PackageTool

java.lang.Object
  extended byorg.apache.maven.ashkelon.PackageTool

public class PackageTool
extends Object

Version:
$Id: PackageTool.java 170200 2005-05-15 06:24:19Z brett $
Author:
Ben Walding

Constructor Summary
PackageTool()
           
 
Method Summary
static int countJavaFiles(File dir)
          Count the number of java files in a directory
 List findPackages(File startDir)
           
 File[] getSubDir(File dir)
           
protected  List internalFindPackages(List results, File startDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageTool

public PackageTool()
Method Detail

countJavaFiles

public static int countJavaFiles(File dir)
Count the number of java files in a directory

Parameters:
dir -
Returns:

findPackages

public List findPackages(File startDir)
Parameters:
startDir -
Returns:
a List of String object representing the packages

getSubDir

public File[] getSubDir(File dir)

internalFindPackages

protected List internalFindPackages(List results,
                                    File startDir)


Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.