public class FileMatcher extends Object
Modifier and Type | Method and Description |
---|---|
static FileMatcher |
absoluteMatcher(Path basedir,
Collection<String> includes,
Collection<String> excludes) |
boolean |
matches(File file) |
boolean |
matches(Path file) |
boolean |
matches(String path) |
static Map<Path,FileMatcher> |
subdirMatchers(Path basedir,
Collection<String> includes,
Collection<String> excludes) |
protected static String |
toDirectoryPath(String basepath) |
protected final String basedir
public boolean matches(String path)
public boolean matches(Path file)
public boolean matches(File file)
public static Map<Path,FileMatcher> subdirMatchers(Path basedir, Collection<String> includes, Collection<String> excludes)
public static FileMatcher absoluteMatcher(Path basedir, Collection<String> includes, Collection<String> excludes)
Copyright © 2017. All rights reserved.