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