/** * Similar to {@link #setFile setFile} but explicitly states that * the file is a remote file. * @param aFromUri a string representing the source of the copy. * @since Ant 1.6.2 */ public void setRemoteFile(final String aFromUri) { validateRemoteUri("remoteFile", aFromUri); setFromUri(aFromUri); this.isFromRemote = true; }
/** * Similar to {@link #setTodir setTodir} but explicitly states * that the directory is a remote. * @param aToUri a string representing the target of the copy. * @since Ant 1.6.2 */ public void setRemoteTodir(final String aToUri) { validateRemoteUri("remoteToDir", aToUri); setToUri(aToUri); this.isToRemote = true; }
/** * Changes the file name to the given name while sending it, * only useful if sending a single file. * @param aToUri a string representing the target of the copy. * @since Ant 1.6.2 */ public void setRemoteTofile(final String aToUri) { validateRemoteUri("remoteToFile", aToUri); setToUri(aToUri); this.isToRemote = true; }