Interface ClasspathResourceScanner


public interface ClasspathResourceScanner
A scanner for Cypher resources (resources ending with Defaults.CYPHER_SCRIPT_EXTENSION) available in the classpath.

This is an interface that you would not normally implement. It is needed in scenarios where resources must be enumerated upfront (i.e. in a GraalVM native image).

Since:
1.3.0
Author:
Michael J. Simons
  • Method Summary

    Modifier and Type
    Method
    Description
    scan(List<String> locations)
    Scan the given locations for resources matching the criteria of this scanner.
  • Method Details

    • scan

      List<URL> scan(List<String> locations)
      Scan the given locations for resources matching the criteria of this scanner. The resources might be filtered later again.
      Parameters:
      locations - The locations to scan
      Returns:
      The resources found