Top Description Fields Constructors Methods
com.sun.mail.imap.protocol

public Class BASE64MailboxDecoder

extends Object
Class Inheritance
Imports
java.text.StringCharacterIterator, .CharacterIterator

See the BASE64MailboxEncoder for a description of the RFC2060 and how mailbox names should be encoded. This class will do the correct decoding for mailbox names.
Author
Christopher Cotton

Field Summary

Modifier and TypeField and Description
pack-priv static final char[]
pem_array

This character array provides the character to value map based on RFC1521, but with the modification from RFC2060 which changes the '/' to a ','.

private static final byte[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected static int
base64decode(char[] buffer, int offset, CharacterIterator iter)

public static String
decode(String original)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

pem_arrayback to summary
pack-priv static final char[] pem_array

This character array provides the character to value map based on RFC1521, but with the modification from RFC2060 which changes the '/' to a ','.

pem_convert_arrayback to summary
private static final byte[] pem_convert_array

Constructor Detail

BASE64MailboxDecoderback to summary
public BASE64MailboxDecoder()

Method Detail

base64decodeback to summary
protected static int base64decode(char[] buffer, int offset, CharacterIterator iter)
decodeback to summary
public static String decode(String original)