1 | void setLocalTodir(String aToUri) {↵ | | |
|
2 | setToUri(aToUri);↵ | | |
|
3 | this.isToRemote = false;↵ | | |
|
4 | }↵ | | |
|
|
5 | /**↵ | | |
|
6 | * Similiar to {@link #setTodir setTodir} but explicitly states↵ | | |
|
7 | * that the directory is a remote.↵ | | |
|
8 | * @param aToUri a string representing the target of the copy.↵ | | |
|
9 | * @since Ant 1.6.2↵ | | |
|
10 | */↵ | | |
|
11 | public void setRemoteTodir(String aToUri) {↵ | | 1 | void setRemoteTodir(String aToUri) {↵
|
12 | setToUri(aToUri);↵ | | 2 | setToUri(aToUri);↵
|
13 | this.isToRemote = true;↵ | | 3 | this.isToRemote = true;↵
|
14 | }↵ | | 4 | }↵
|
|
15 | /**↵ | | 5 | /**↵
|
16 | * Changes the file name to the given name while receiving it,↵ | | 6 | * Changes the file name to the given name while receiving it,↵
|
17 | * only useful if receiving a single file.↵ | | 7 | * only useful if receiving a single file.↵
|
18 | * @param aToUri a string representing the target of the copy.↵ | | 8 | * @param aToUri a string representing the target of the copy.↵
|
19 | * @since Ant 1.6.2↵ | | 9 | * @since Ant 1.6.2↵
|
20 | */↵ | | 10 | */↵
|
21 | public void setLocalTofile(String aToUri) {↵ | | 11 | public void setLocalTofile(String aToUri) {↵
|
22 | setToUri(aToUri);↵ | | 12 | setToUri(aToUri);↵
|
23 | this.isToRemote = false;↵ | | 13 | this.isToRemote = false;↵
|
24 | | | 14 | }↵
|
|
| | | 15 | /**↵
|
| | | 16 | * Changes the file name to the given name while sending it,↵
|
| | | 17 | * only useful if sending a single file.↵
|
| | | 18 | * @param aToUri a string representing the target of the copy.↵
|
| | | 19 | * @since Ant 1.6.2↵
|
| | | 20 | */↵
|
| | | 21 | public void setRemoteTofile(String aToUri) {↵
|
| | | 22 | setToUri(aToUri);↵
|
| | | 23 | this.isToRemote = true;↵
|
| | | 24 |
|