org.acm.seguin.summary.query
Class SamePackage

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

public class SamePackage
extends java.lang.Object

Determines if the package name matches the summary

Author:
Chris Seguin

Constructor Summary
SamePackage()
           
 
Method Summary
static boolean query(java.lang.String packageName, FileSummary summary)
          Check to see if they are the same package
static boolean query(java.lang.String packageName, TypeSummary summary)
          Check to see if they are the same package
static boolean query(TypeSummary one, TypeSummary two)
          Check to see if they are the same package
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SamePackage

public SamePackage()
Method Detail

query

public static boolean query(java.lang.String packageName,
                            FileSummary summary)
Check to see if they are the same package

Parameters:
packageName - the name of the package
summary - the summary
Returns:
true if they come from the same package

query

public static boolean query(java.lang.String packageName,
                            TypeSummary summary)
Check to see if they are the same package

Parameters:
packageName - the name of the package
summary - the summary
Returns:
true if they come from the same package

query

public static boolean query(TypeSummary one,
                            TypeSummary two)
Check to see if they are the same package

Parameters:
one - Description of Parameter
two - Description of Parameter
Returns:
true if they come from the same package