Package org.apache.tapestry5.ioc.internal.services

## Class ClasspathScannerImpl

- java.lang.Object
- - org.apache.tapestry5.ioc.internal.services.ClasspathScannerImpl

- All Implemented Interfaces:
    `ClasspathScanner`

      public class ClasspathScannerImpl
      extends java.lang.Object
      implements ClasspathScanner

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ClasspathScannerImpl​(ClasspathURLConverter converter)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Set<java.lang.String>` | `scan​(java.lang.String packagePath, ClasspathMatcher matcher)` | Scans the indicated package path for matches.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClasspathScannerImpl

          public ClasspathScannerImpl​(ClasspathURLConverter converter)

  - ### Method Detail

    - #### scan

          public java.util.Set<java.lang.String> scan​(java.lang.String packagePath,
                                                      ClasspathMatcher matcher)
                                               throws java.io.IOException

      Scans the indicated package path for matches.
      Specified by:
        `scan` in interface `ClasspathScanner`
      Parameters:
        `packagePath` - a package path (like a package name, but using '/' instead of '.', and ending with '/')
        `matcher` - passed a resource path from the package (or a sub-package), returns true if the provided path should be included in the returned collection
      Returns:
        collection of matching paths, in no specified order
      Throws:
        `java.io.IOException`