Package org.apache.tapestry5.ioc.services

# Interface ClasspathScanner

All Known Implementing Classes:
  `ClasspathScannerImpl`

public interface ClasspathScanner
Used to scan a portion of the classpath for files that match a particular pattern, defined by a `ClasspathMatcher`.

Since:
  5.4

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Set<String>`
  `scan(String packagePath, ClasspathMatcher matcher)`
  Perform a scan of the indicated package path and any nested packages.

- ## Method Details

  - ### scan

    Set<String> scan(String packagePath, ClasspathMatcher matcher) throws IOException
    Perform a scan of the indicated package path and any nested packages.
    Parameters:
      `packagePath` - defines the root of the search as a path, e.g., "org/apache/tapestry5/" not "org.apache.tapestry5"
      `matcher` - passed each potential match to determine which are included in the final result
    Returns:
      matching paths based on the search and the matcher
    Throws:
      `IOException` - if some error occurrs.