1 | String[] getNotIncludedFiles() {↵ | | 1 | String[] getExcludedDirectories() {↵
|
2 | slowScan();↵ | | 2 | slowScan();↵
|
3 | String[] files = new String[filesNotIncluded.size()];↵ | | 3 | String[] directories = new String[dirsExcluded.size()];↵
|
4 | filesNotIncluded.copyInto(files);↵ | | 4 | dirsExcluded.copyInto(directories);↵
|
5 | return files;↵ | | 5 | return directories;↵
|
6 | }↵ | | 6 | }↵
|
|
7 | /**↵ | | 7 | /**↵
|
8 | * Return the names of the files which matched at least one of the↵ | | 8 | * <p>Return the names of the ↵
|
9 | * include patterns and at least one of the exclude patterns.↵ | | |
|
10 | * ↵ | | 9 | directories which were selected out and↵
|
| | | 10 | * therefore not ultimately included.</p>↵
|
| | | 11 | *↵
|
11 | The names are relative to the base directory. This involves↵ | | 12 | * <p>The names are relative to the base directory. This involves↵
|
12 | * performing a slow scan if one has not already been completed.↵ | | 13 | * performing a slow scan if one has not already been completed.</p>↵
|
13 | *↵ | | 14 | *↵
|
14 | * @return the names of the files which matched at least one of the↵ | | 15 | * @return the names of the ↵
|
15 | * include patterns and at least one of the exclude patterns.↵ | | 16 | directories which were deselected.↵
|
16 | *↵ | | 17 | *↵
|
17 | * @see #slowScan↵ | | 18 | * @see #slowScan↵
|
18 | */↵ | | 19 | */↵
|
19 | public synchronized String[] getExcludedFiles() {↵ | | 20 | public synchronized String[] getDeselectedDirectories() {↵
|
20 | slowScan();↵ | | 21 | slowScan();↵
|
21 | String[] files = new String[filesExcluded.size()];↵ | | 22 | String[] directories = new String[dirsDeselected.size()];↵
|
22 | filesExcluded.copyInto(files);↵ | | 23 | dirsDeselected.copyInto(directories);↵
|
23 | return files;↵ | | 24 | return directories;↵
|
24 | | | 25 |
|