org.acm.seguin.summary.query
Class FileSummaryGetter

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

public class FileSummaryGetter
extends java.lang.Object

Determines if a package contains a certain type

Author:
Chris Seguin

Constructor Summary
FileSummaryGetter()
           
 
Method Summary
 FileSummary query(PackageSummary summary, java.lang.String typeName)
          Checks the package to determine if it contains that type
 FileSummary query(java.lang.String packageName, java.lang.String typeName)
          Places the query
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSummaryGetter

public FileSummaryGetter()
Method Detail

query

public FileSummary query(java.lang.String packageName,
                         java.lang.String typeName)
Places the query

Parameters:
packageName - the name of the package
typeName - the name of the type
Returns:
true if the package contains a type with that name

query

public FileSummary query(PackageSummary summary,
                         java.lang.String typeName)
Checks the package to determine if it contains that type

Parameters:
summary - the package
typeName - the type
Returns:
true if the type is in the package