1 | void setCaseSensitive(boolean caseSensitive) {↵ | | 1 | void setDefaultexcludes(boolean useDefaultExcludes) {↵
|
2 | checkAttributesAllowed();↵ | | 2 | checkAttributesAllowed();↵
|
3 | this.caseSensitive = caseSensitive;↵ | | 3 | this.useDefaultExcludes = useDefaultExcludes;↵
|
4 | ds = null;↵ | | 4 | ds = null;↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * Find out if this Files collection is case-sensitive.↵ | | 7 | * ↵
|
8 | *↵ | | |
|
9 | * @return <code>boolean</code> indicating whether the Files↵ | | |
|
10 | * collection is case-sensitiv↵ | | 8 | Get whether default exclusions should be used or not.↵
|
11 | e.↵ | | 9 | * @return the defaultexclusions value.↵
|
12 | */↵ | | 10 | */↵
|
13 | public synchronized boolean isCaseSensitive() {↵ | | 11 | public synchronized boolean getDefaultexcludes() {↵
|
14 | return (isReference())↵ | | 12 | return (isReference())↵
|
15 | ? getRef().isCaseSensitive() : caseSensitive;↵ | | 13 | ? getRef().getDefaultexcludes() : useDefaultExcludes;↵
|
16 | }↵ | | 14 | }↵
|
|
17 | /**↵ | | 15 | /**↵
|
18 | * Set whether or not symbolic links should be followed.↵ | | 16 | * Set ↵
|
19 | *↵ | | |
|
20 | * @param followSymlinks whether or not symbolic links should be followed↵ | | 17 | case-sensitivity of the Files collection.↵
|
| | | 18 | *↵
|
21 | .↵ | | 19 | * @param caseSensitive <code>boolean</code>.↵
|
22 | */↵ | | 20 | */↵
|
23 | public synchronized void setFollowSymlinks(boolean followSymlinks) {↵ | | 21 | public synchronized void setCaseSensitive(boolean caseSensitive) {↵
|
24 | checkAttributesAllowed();↵ | | 22 | checkAttributesAllowed();↵
|
25 | this.followSymlinks = followSymlinks;↵ | | 23 | this.caseSensitive = caseSensitive;↵
|
26 | ds = null;↵ | | 24 | ds = null;↵
|
27 | }↵ | | 25 | }↵
|
|
28 | /**↵ | | 26 | /**↵
|
29 | * Find out whether symbolic links should be followed.↵ | | 27 | * Find out if this Files collection is case-sensitive.↵
|
30 | *↵ | | 28 | *↵
|
31 | * @return <code>boolean</code> indicating whether symbolic links↵ | | 29 | * @return <code>boolean</code> indicating whether ↵
|
32 | * should be followed↵ | | 30 | the Files↵
|
33 | .↵ | | 31 | * collection is case-sensitive.↵
|
34 | */↵ | | 32 | */↵
|
35 | public synchronized boolean isFollowSymlinks() {↵ | | 33 | public synchronized boolean isCaseSensitive() {↵
|
36 | return (isReference())↵ | | 34 | return (isReference())↵
|
37 | ? getRef().isFollowSymlinks() : followSymlinks;↵ | | 35 | ? getRef().isCaseSensitive() : caseSensitive;↵
|
38 | | | 36 |
|