1 | void setDefaultexcludes(boolean useDefaultExcludes) {↵ | | 1 | void setFollowSymlinks(boolean followSymlinks) {↵
|
2 | checkAttributesAllowed();↵ | | 2 | checkAttributesAllowed();↵
|
3 | this.useDefaultExcludes = useDefaultExcludes;↵ | | 3 | this.followSymlinks = followSymlinks;↵
|
4 | ds = null;↵ | | 4 | ds = null;↵
|
5 | }↵ | | 5 | }↵
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * Get whether default exclusions should be used or not.↵ | | 7 | * Find out whether ↵
|
8 | * @return the defaultexclusions value↵ | | 8 | symbolic links should be followed.↵
|
| | | 9 | *↵
|
| | | 10 | * @return <code>boolean</code> indicating whether symbolic links↵
|
9 | .↵ | | 11 | * should be followed.↵
|
10 | */↵ | | 12 | */↵
|
11 | public synchronized boolean getDefaultexcludes() {↵ | | 13 | public synchronized boolean isFollowSymlinks() {↵
|
12 | return (isReference())↵ | | 14 | return (isReference())↵
|
13 | ? getRef().getDefaultexcludes() : useDefaultExcludes;↵ | | 15 | ? getRef().isFollowSymlinks() : followSymlinks;↵
|
14 | | | 16 |
|