public final class PathPredicateFactories extends Object
public static PathPredicate alwaysTrue()
public static PathPredicate alwaysFalse()
public static PathPredicate not(PathPredicate p)
public static PathPredicate or(PathPredicate p1, PathPredicate p2)
public static PathPredicate and(PathPredicate p1, PathPredicate p2)
public static PathPredicate any(PathPredicate... ps)
public static PathPredicate all(PathPredicate... ps)
public static PathPredicate isRegularFile()
public static PathPredicate isNotRegularFile()
public static PathPredicate isDirectory()
public static PathPredicate isNotDirectory()
public static PathPredicate isEmptyDirectory()
public static PathPredicate isNotEmptyDirectory()
public static PathPredicate isSymbolicLink()
public static PathPredicate isNotSymbolicLink()
public static PathPredicate isHidden()
public static PathPredicate isNotHidden()
public static PathPredicate isReadableAndWritable()
public static PathPredicate isNotReadableOrWritable()
public static PathPredicate isReadable()
public static PathPredicate isNotReadable()
public static PathPredicate isWritable()
public static PathPredicate isNotWritable()
public static PathPredicate isFilenameMatchesPattern(String regexPattern)
public static PathPredicate isFilenameNotMatchesPattern(String regexPattern)
public static PathPredicate isExtensionMatches(String... extensions)
public static PathPredicate isExtensionMatches(boolean ignoreCases, String... extensions)
public static PathPredicate isNotExtensionMatches(String... extensions)
public static PathPredicate isNotExtensionMatches(boolean ignoreCases, String... extensions)
public static PathPredicate isAntStyleMatches(String... patterns)
public static PathPredicate isNotAntStyleMatches(String... patterns)
Copyright © 2022. All rights reserved.