1 | String[] getNotIncludedFiles() {↵ | | 1 | String[] getNotIncludedDirectories() {↵
|
2 | slowScan();↵ | | 2 | slowScan();↵
|
3 | String[] files = new String[filesNotIncluded.size()];↵ | | 3 | String[] directories = new String[dirsNotIncluded.size()];↵
|
4 | filesNotIncluded.copyInto(files);↵ | | 4 | dirsNotIncluded.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 | * Return the names of the directories which matched at least one of the↵
|
9 | * include patterns and at least one of the exclude patterns.↵ | | 9 | * include patterns and at least one of the exclude patterns.↵
|
10 | * The names are relative to the base directory. This involves↵ | | 10 | * The names are relative to the base directory. This involves↵
|
11 | * performing a slow scan if one has not already been completed.↵ | | 11 | * performing a slow scan if one has not already been completed.↵
|
12 | *↵ | | 12 | *↵
|
13 | * @return the names of the files which matched at least one of the↵ | | 13 | * @return the names of the directories which matched at least one of the↵
|
14 | * include patterns and at least one of the exclude patterns.↵ | | 14 | * include patterns and at least one of the exclude patterns.↵
|
15 | *↵ | | 15 | *↵
|
16 | * @see #slowScan↵ | | 16 | * @see #slowScan↵
|
17 | */↵ | | 17 | */↵
|
18 | public synchronized String[] getExcludedFiles() {↵ | | 18 | public synchronized String[] getExcludedDirectories() {↵
|
19 | slowScan();↵ | | 19 | slowScan();↵
|
20 | String[] files = new String[filesExcluded.size()];↵ | | 20 | String[] directories = new String[dirsExcluded.size()];↵
|
21 | filesExcluded.copyInto(files);↵ | | 21 | dirsExcluded.copyInto(directories);↵
|
22 | return files;↵ | | 22 | return directories;↵
|
23 | | | 23 |
|