com.sun.mail.util
类 BEncoderStream

java.lang.Object
  继承者 java.io.OutputStream
      继承者 java.io.FilterOutputStream
          继承者 com.sun.mail.util.BASE64EncoderStream
              继承者 com.sun.mail.util.BEncoderStream
所有已实现的接口:
Closeable, Flushable

public class BEncoderStream
extends BASE64EncoderStream

This class implements a 'B' Encoder as defined by RFC2047 for encoding MIME headers. It subclasses the BASE64EncoderStream class.

作者:
John Mani

字段摘要
 
从类 java.io.FilterOutputStream 继承的字段
out
 
构造方法摘要
BEncoderStream(OutputStream out)
          Create a 'B' encoder that encodes the specified input stream.
 
方法摘要
static int encodedLength(byte[] b)
          Returns the length of the encoded version of this byte array.
 
从类 com.sun.mail.util.BASE64EncoderStream 继承的方法
close, encode, flush, write, write, write
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

BEncoderStream

public BEncoderStream(OutputStream out)
Create a 'B' encoder that encodes the specified input stream.

参数:
out - the output stream
方法详细信息

encodedLength

public static int encodedLength(byte[] b)
Returns the length of the encoded version of this byte array.



Copyright © 2013. All Rights Reserved.