public class

BEncoderStream

extends BASE64EncoderStream
java.lang.Object
   ↳ java.io.OutputStream
     ↳ java.io.FilterOutputStream
       ↳ com.google.code.com.sun.mail.util.BASE64EncoderStream
         ↳ com.google.code.com.sun.mail.util.BEncoderStream

Class Overview

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

Summary

[Expand]
Inherited Fields
From class com.google.code.com.sun.mail.util.BASE64EncoderStream
From class java.io.FilterOutputStream
Public Constructors
BEncoderStream(OutputStream out)
Create a 'B' encoder that encodes the specified input stream.
Public Methods
static int encodedLength(byte[] b)
Returns the length of the encoded version of this byte array.
[Expand]
Inherited Methods
From class com.google.code.com.sun.mail.util.BASE64EncoderStream
From class java.io.FilterOutputStream
From class java.io.OutputStream
From class java.lang.Object
From interface java.io.Closeable
From interface java.io.Flushable

Public Constructors

public BEncoderStream (OutputStream out)

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

Parameters
out The output stream

Public Methods

public static int encodedLength (byte[] b)

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

Parameters
b