| Modifier and Type | Field and Description |
|---|---|
| protected boolean | caseSensitive
Whether or not the file system should be treated as a case sensitive one. |
| protected List | includePatterns
The patterns for the files to be included. |
| protected String | separator
The file separator to use to parse paths - default=local O/S separator |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | Returns: true when the name matches against the start of at least one include pattern, or
false otherwise.The name to match. Must not be name)null.Tests whether or not a name matches the start of at least one include pattern. |
| public List | |
| public String | |
| public boolean | |
| protected boolean | Returns: true when the name matches against at least one include pattern, or false
otherwise.The name to match. Must not be name)null.Tests whether or not a name matches against at least one include pattern. |
| public static String | Returns: The normalized pattern, nevernull.The pattern to normalize, must not be pattern)null.Normalizes the pattern, e.g. converts forward and backward slashes to the platform-specific file separator. |
| public void | |
| public void | setIncludes(String...
A list of include patterns. May be includes)null, indicating that all files should be included. If
a non-null list is given, all elements must be non-null.Sets the list of include patterns to use. |
| public void | |
| public void |
| caseSensitive | back to summary |
|---|---|
| protected boolean caseSensitive Whether or not the file system should be treated as a case sensitive one. | |
| includePatterns | back to summary |
|---|---|
| protected List<String> includePatterns The patterns for the files to be included. | |
| separator | back to summary |
|---|---|
| protected String separator The file separator to use to parse paths - default=local O/S separator | |
| PathScanningMatcher | back to summary |
|---|---|
| protected PathScanningMatcher() | |
| couldHoldIncluded | back to summary |
|---|---|
| protected boolean couldHoldIncluded(String name) Tests whether or not a name matches the start of at least one include pattern.
| |
| getIncludes | back to summary |
|---|---|
| public List | |
| getSeparator | back to summary |
|---|---|
public String getSeparator()
| |
| isCaseSensitive | back to summary |
|---|---|
public boolean isCaseSensitive()
| |
| isIncluded | back to summary |
|---|---|
| protected boolean isIncluded(String name) Tests whether or not a name matches against at least one include pattern.
| |
| normalizePattern | back to summary |
|---|---|
| public static String normalizePattern(String pattern) Normalizes the pattern, e.g. converts forward and backward slashes to the platform-specific file separator. | |
| setCaseSensitive | back to summary |
|---|---|
| public void setCaseSensitive(boolean caseSensitive) | |
| setIncludes | back to summary |
|---|---|
| public void setIncludes(String... includes)
Sets the list of include patterns to use. All '/' and '\' characters are replaced by
When a pattern ends with a '/' or '\', "**" is appended.
| |
| setIncludes | back to summary |
|---|---|
| public void setIncludes(Collection<String> includes) | |
| setSeparator | back to summary |
|---|---|
| public void setSeparator(String separator) | |