Class FileSystemGlob

java.lang.Object
com.seeq.link.sdk.utilities.FileSystemGlob

public final class FileSystemGlob extends Object
Utility to perform a file search using Glob syntax via find(String, Path) static member. Refer to the following article for syntax: https://docs.oracle.com/javase/tutorial/essential/io/fileOps.html#glob
  • Constructor Details

    • FileSystemGlob

      public FileSystemGlob()
  • Method Details

    • find

      public static List<Path> find(String globPattern, Path rootForRelativePaths)
      Finds all files in the system that match the globPattern. If the globPattern is not rooted, then rootForRelativePaths will be used to establish the search root.
      Parameters:
      globPattern - the pattern to search for, which can include standard "glob" wildcards including * and **
      rootForRelativePaths - the root to use for relative paths
      Returns:
      a list of matching paths