com.sun.mail.util.QPEncoderStream.write()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(6.6k)|赞(0)|评价(0)|浏览(73)

本文整理了Java中com.sun.mail.util.QPEncoderStream.write方法的一些代码示例,展示了QPEncoderStream.write的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QPEncoderStream.write方法的具体详情如下:
包路径:com.sun.mail.util.QPEncoderStream
类名称:QPEncoderStream
方法名:write

QPEncoderStream.write介绍

[英]Encodes the specified byte to this output stream.
[中]将指定的byte编码到此输出流。

代码示例

代码示例来源:origin: camunda/camunda-bpm-platform

/**
 * Encodes <code>b.length</code> bytes to this output stream.
 * @param      b   the data to be written.
 * @exception  IOException  if an I/O error occurs.
 */
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

代码示例来源:origin: com.sun.mail/javax.mail

/**
 * Encodes <code>b.length</code> bytes to this output stream.
 * @param      b   the data to be written.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

代码示例来源:origin: camunda/camunda-bpm-platform

/**
 * Encodes <code>len</code> bytes from the specified
 * <code>byte</code> array starting at offset <code>off</code> to
 * this output stream.
 *
 * @param      b     the data.
 * @param      off   the start offset in the data.
 * @param      len   the number of bytes to write.
 * @exception  IOException  if an I/O error occurs.
 */
public void write(byte[] b, int off, int len) throws IOException {
for (int i = 0; i < len; i++)
  write(b[off + i]);
}

代码示例来源:origin: com.sun.mail/javax.mail

/**
 * Encodes <code>len</code> bytes from the specified
 * <code>byte</code> array starting at offset <code>off</code> to
 * this output stream.
 *
 * @param      b     the data.
 * @param      off   the start offset in the data.
 * @param      len   the number of bytes to write.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b, int off, int len) throws IOException {
for (int i = 0; i < len; i++)
  write(b[off + i]);
}

代码示例来源:origin: com.sun.mail/android-mail

/**
 * Encodes <code>b.length</code> bytes to this output stream.
 * @param      b   the data to be written.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

代码示例来源:origin: javax.mail/com.springsource.javax.mail

/**
 * Encodes <code>b.length</code> bytes to this output stream.
 * @param      b   the data to be written.
 * @exception  IOException  if an I/O error occurs.
 */
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

代码示例来源:origin: com.sun.mail/mailapi

/**
 * Encodes <code>b.length</code> bytes to this output stream.
 * @param      b   the data to be written.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax.mail

/**
 * Encodes <code>b.length</code> bytes to this output stream.
 * @param      b   the data to be written.
 * @exception  IOException  if an I/O error occurs.
 */
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

代码示例来源:origin: com.sun.mail/jakarta.mail

/**
 * Encodes <code>b.length</code> bytes to this output stream.
 * @param      b   the data to be written.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

代码示例来源:origin: org.glassfish.metro/webservices-extra

/**
 * Encodes <code>b.length</code> bytes to this output stream.
 * @param      b   the data to be written.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

代码示例来源:origin: jboss/jboss-javaee-specs

/**
 * Encodes <code>b.length</code> bytes to this output stream.
 * @param      b   the data to be written.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

代码示例来源:origin: javax.mail/com.springsource.javax.mail

/**
 * Encodes <code>len</code> bytes from the specified
 * <code>byte</code> array starting at offset <code>off</code> to
 * this output stream.
 *
 * @param      b     the data.
 * @param      off   the start offset in the data.
 * @param      len   the number of bytes to write.
 * @exception  IOException  if an I/O error occurs.
 */
public void write(byte[] b, int off, int len) throws IOException {
for (int i = 0; i < len; i++)
  write(b[off + i]);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax.mail

/**
 * Encodes <code>len</code> bytes from the specified
 * <code>byte</code> array starting at offset <code>off</code> to
 * this output stream.
 *
 * @param      b     the data.
 * @param      off   the start offset in the data.
 * @param      len   the number of bytes to write.
 * @exception  IOException  if an I/O error occurs.
 */
public void write(byte[] b, int off, int len) throws IOException {
for (int i = 0; i < len; i++)
  write(b[off + i]);
}

代码示例来源:origin: com.sun.mail/android-mail

/**
 * Encodes <code>len</code> bytes from the specified
 * <code>byte</code> array starting at offset <code>off</code> to
 * this output stream.
 *
 * @param      b     the data.
 * @param      off   the start offset in the data.
 * @param      len   the number of bytes to write.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b, int off, int len) throws IOException {
for (int i = 0; i < len; i++)
  write(b[off + i]);
}

代码示例来源:origin: com.sun.mail/jakarta.mail

/**
 * Encodes <code>len</code> bytes from the specified
 * <code>byte</code> array starting at offset <code>off</code> to
 * this output stream.
 *
 * @param      b     the data.
 * @param      off   the start offset in the data.
 * @param      len   the number of bytes to write.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b, int off, int len) throws IOException {
for (int i = 0; i < len; i++)
  write(b[off + i]);
}

代码示例来源:origin: com.sun.mail/mailapi

/**
 * Encodes <code>len</code> bytes from the specified
 * <code>byte</code> array starting at offset <code>off</code> to
 * this output stream.
 *
 * @param      b     the data.
 * @param      off   the start offset in the data.
 * @param      len   the number of bytes to write.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b, int off, int len) throws IOException {
for (int i = 0; i < len; i++)
  write(b[off + i]);
}

代码示例来源:origin: org.glassfish.metro/webservices-extra

/**
 * Encodes <code>len</code> bytes from the specified
 * <code>byte</code> array starting at offset <code>off</code> to
 * this output stream.
 *
 * @param      b     the data.
 * @param      off   the start offset in the data.
 * @param      len   the number of bytes to write.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b, int off, int len) throws IOException {
for (int i = 0; i < len; i++)
  write(b[off + i]);
}

代码示例来源:origin: jboss/jboss-javaee-specs

/**
 * Encodes <code>len</code> bytes from the specified
 * <code>byte</code> array starting at offset <code>off</code> to
 * this output stream.
 *
 * @param      b     the data.
 * @param      off   the start offset in the data.
 * @param      len   the number of bytes to write.
 * @exception  IOException  if an I/O error occurs.
 */
@Override
public void write(byte[] b, int off, int len) throws IOException {
for (int i = 0; i < len; i++)
  write(b[off + i]);
}

相关文章