Top Description Constructors Methods
com.sun.mail.util

public Class BEncoderStream

extends BASE64EncoderStream
Class Inheritance
Imports
java.io.*

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

Constructor Summary

AccessConstructor and Description
public
BEncoderStream(OutputStream
the output stream
out
)

Create a 'B' encoder that encodes the specified input stream.

Method Summary

Modifier and TypeMethod and Description
public static int

Returns:

the length
encodedLength
(byte[]
the byte array
b
)

Returns the length of the encoded version of this byte array.

Inherited from com.sun.mail.util.BASE64EncoderStream:
closeencodeflushwritewritewrite

Constructor Detail

BEncoderStreamback to summary
public BEncoderStream(OutputStream out)

Create a 'B' encoder that encodes the specified input stream.

Parameters
out:OutputStream

the output stream

Method Detail

encodedLengthback to summary
public static int encodedLength(byte[] b)

Returns the length of the encoded version of this byte array.

Parameters
b:byte[]

the byte array

Returns:int

the length