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