/** * Get a path filter which returns {@code true} if any of the given filters return {@code true}. * * @param filters the filters * @return the "any" filter */ public static PathFilter any(PathFilter... filters) { return new AggregatePathFilter(true, filters); }
/** * Get a path filter which returns {@code true} if all of the given filters return {@code true}. * * @param filters the filters * @return the "all" filter */ public static PathFilter all(PathFilter... filters) { return new AggregatePathFilter(false, filters); }
/** * Get a path filter which returns {@code true} if all of the given filters return {@code true}. * * @param filters the filters * @return the "all" filter */ public static PathFilter all(PathFilter... filters) { return new AggregatePathFilter(false, filters); }
/** * Get a path filter which returns {@code true} if any of the given filters return {@code true}. * * @param filters the filters * @return the "any" filter */ public static PathFilter any(PathFilter... filters) { return new AggregatePathFilter(true, filters); }