org.apache.maven.ashkelon
Class PackageTool
java.lang.Object
org.apache.maven.ashkelon.PackageTool
- public class PackageTool
- extends Object
- Version:
- $Id: PackageTool.java 170200 2005-05-15 06:24:19Z brett $
- Author:
- Ben Walding
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PackageTool
public PackageTool()
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.