Package org.apache.tapestry5.ioc.services

## Interface ClasspathMatcher

-     public interface ClasspathMatcher

  Used to determine which files will be included in the set of matches paths within a particular package.
  Since:
    5.4
  See Also:
    `ClasspathScanner`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `matches​(String packagePath, String fileName)` | Invoked for each located file, to determine if it belongs.

- - ### Method Detail

    - #### matches

          boolean matches​(String packagePath,
                          String fileName)

      Invoked for each located file, to determine if it belongs. May be passed file names that are actually nested folders. Typically, an implementation determined what matches based on a file extension of naming pattern.
      Parameters:
        `packagePath` - package path containing the file, ending with '/'
        `fileName` - name of file within the package
      Returns:
        true to include, false to exclude