提交 26971784 编写于 作者: K kohsuke

added a convenience method

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18896 71c3de6d-444a-0410-be80-ed276b4c234a
上级 9546fd2c
...@@ -572,6 +572,15 @@ public final class FilePath implements Serializable { ...@@ -572,6 +572,15 @@ public final class FilePath implements Serializable {
} }
} }
/**
* Conveniene method to call {@link FilePath#copyTo(FilePath)}.
*
* @since 1.311
*/
public void copyFrom(FilePath src) throws IOException, InterruptedException {
src.copyTo(this);
}
/** /**
* Place the data from {@link FileItem} into the file location specified by this {@link FilePath} object. * Place the data from {@link FileItem} into the file location specified by this {@link FilePath} object.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册