未验证 提交 479bf62c 编写于 作者: J Jesse Glick

Javadoc

上级 7090b374
...@@ -2028,7 +2028,7 @@ public final class FilePath implements Serializable { ...@@ -2028,7 +2028,7 @@ public final class FilePath implements Serializable {
} }
/** /**
* Reads this file into a string, by using the current system encoding. * Reads this file into a string, by using the current system encoding on the remote machine.
*/ */
public String readToString() throws IOException, InterruptedException { public String readToString() throws IOException, InterruptedException {
return act(new ReadToString()); return act(new ReadToString());
...@@ -2080,7 +2080,7 @@ public final class FilePath implements Serializable { ...@@ -2080,7 +2080,7 @@ public final class FilePath implements Serializable {
* Overwrites this file by placing the given String as the content. * Overwrites this file by placing the given String as the content.
* *
* @param encoding * @param encoding
* Null to use the platform default encoding. * Null to use the platform default encoding on the remote machine.
* @since 1.105 * @since 1.105
*/ */
public void write(final String content, final String encoding) throws IOException, InterruptedException { public void write(final String content, final String encoding) throws IOException, InterruptedException {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册