Class PathPredicate

java.lang.Object
com.logviewer.utils.PathPredicate
All Implemented Interfaces:
Predicate<Path>

public class PathPredicate extends Object implements Predicate<Path>
  • Field Details

  • Constructor Details

    • PathPredicate

      public PathPredicate(@Nullable Path directory, @Nullable Pattern pattern)
  • Method Details

    • test

      public boolean test(Path path)
      Specified by:
      test in interface Predicate<Path>
    • fromHocon

      public static PathPredicate fromHocon(com.typesafe.config.Config cfg) throws com.typesafe.config.ConfigException
      Throws:
      com.typesafe.config.ConfigException