org.acm.seguin.summary.query
Class PackageContainsClass

java.lang.Object
  extended by org.acm.seguin.summary.query.PackageContainsClass

public class PackageContainsClass
extends java.lang.Object

Determines if a specified package contains a class with that name

Author:
Chris Seguin

Constructor Summary
PackageContainsClass()
           
 
Method Summary
static boolean query(PackageSummary summary, java.lang.String className)
          Checks to see if the package contains a class with that name
static boolean query(java.lang.String packageName, java.lang.String className)
          Checks to see if the package contains a class with that name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageContainsClass

public PackageContainsClass()
Method Detail

query

public static boolean query(java.lang.String packageName,
                            java.lang.String className)
Checks to see if the package contains a class with that name

Parameters:
packageName - the name of the package
className - the name of the class
Returns:
true if it is included

query

public static boolean query(PackageSummary summary,
                            java.lang.String className)
Checks to see if the package contains a class with that name

Parameters:
summary - the summary of the package
className - the name of the class
Returns:
true if it is included