本文整理了Java中org.apache.sshd.common.util.buffer.Buffer.putStringList()
方法的一些代码示例,展示了Buffer.putStringList()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Buffer.putStringList()
方法的具体详情如下:
包路径:org.apache.sshd.common.util.buffer.Buffer
类名称:Buffer
方法名:putStringList
[英]Encodes the Objects#toString(Object,String) value of each member
[中]对每个成员的Objects#toString(Object,String)值进行编码
代码示例来源:origin: org.apache.sshd/sshd-common
/**
* Encodes the {@link Objects#toString(Object, String) toString} value of each member.
*
* @param objects The objects to be encoded in the buffer - OK if
* {@code null}/empty
* @param prependLength If {@code true} then the list is preceded by
* a 32-bit count of the number of members in the list
* @see #putStringList(Collection, Charset, boolean)
*/
public void putStringList(Collection<?> objects, boolean prependLength) {
putStringList(objects, StandardCharsets.UTF_8, prependLength);
}
代码示例来源:origin: org.apache.sshd/sshd-osgi
/**
* Encodes the {@link Objects#toString(Object, String) toString} value of each member.
*
* @param objects The objects to be encoded in the buffer - OK if {@code null}/empty
* @param prependLength If {@code true} then the list is preceded by a 32-bit count
* of the number of members in the list
* @see #putStringList(Collection, Charset, boolean)
*/
public void putStringList(Collection<?> objects, boolean prependLength) {
putStringList(objects, StandardCharsets.UTF_8, prependLength);
}
代码示例来源:origin: org.apache.sshd/sshd-sftp
buffer.putStringList(Collections.<String>emptyList(), true);
buffer.putStringList(extras, true);
代码示例来源:origin: org.apache.sshd/sshd-sftp
buffer.putStringList(extras, false);
内容来源于网络,如有侵权,请联系作者删除!