Package org.h2.build

Class BuildBase.FileList

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Path>, Collection<Path>, List<Path>, RandomAccess, SequencedCollection<Path>
Enclosing class:
BuildBase

public static class BuildBase.FileList extends ArrayList<Path>
A list of files.
See Also:
  • Constructor Details

    • FileList

      public FileList()
  • Method Details

    • exclude

      public BuildBase.FileList exclude(String pattern)
      Remove the files that match from the list. Patterns must start or end with a *.
      Parameters:
      pattern - the pattern of the file names to remove
      Returns:
      the new file list
    • keep

      public BuildBase.FileList keep(String pattern)
      Only keep the files that match. Patterns must start or end with a *.
      Parameters:
      pattern - the pattern of the file names to keep
      Returns:
      the new file list