Module org.jooq
Package org.jooq

Class FilePattern

java.lang.Object
org.jooq.FilePattern

@Internal public final class FilePattern extends Object
A utility class that can traverse a directory structure given some ant-style file patterns, or classpath resources.

The following algorithm is applied when traversing sources:

  • If pattern is a valid classpath resource, load the single Source from there
  • If pattern is a valid file on the file system, load the single Source from there
  • Match all files on the file system according to pattern (interpreted as an ant-style file pattern), and load all of the Source items given sort(). An example pattern is src/main/resources/**/*.sql

This is INTERNAL API. Please do not use directly as API may change incompatibly.

Author:
Lukas Eder
  • Constructor Details

    • FilePattern

      public FilePattern()
  • Method Details