public class FilePatternMatcher extends Object
<p>A matcher for file patterns.</p>
<p>Holds patters for file paths to be included or excluded and provides an
accepts(String) method which evaluates a given path.</p>
| Modifier and Type | Class and Description |
|---|---|
static class |
FilePatternMatcher.Builder
<p>Builder for the file pattern matcher.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(String path)
<p>Determines if the given path matches the configured include and exclude
patterns.
|
static FilePatternMatcher.Builder |
builder()
<p>Return a
FilePatternMatcher.Builder. |
public boolean accepts(String path)
<p>Determines if the given path matches the configured include and exclude patterns.</p> <div class="admonitionblock note"> <table> <tr> <td class="icon"> <div class="title">Note</div> </td> <td class="content"> The include pattern is evaluated before the exclude pattern. </td> </tr> </table> </div>
path - The path.public static FilePatternMatcher.Builder builder()
<p>Return a FilePatternMatcher.Builder.</p>
Copyright © 2016–2021 jQAssistant Development Team. All rights reserved.