gnu.inet.imap

Class UTF7imap


public final class UTF7imap
extends java.lang.Object

Encodes and decodes text according to the IMAP4rev1 mailbox name encoding scheme.

Method Summary

static String
decode(String name)
Decodes the specified name using the UTF-7.imap decoding.
static String
encode(String name)
Encodes the specified name using the UTF-7.imap encoding.
static void
main(String[] args)

Method Details

decode

public static String decode(String name)
Decodes the specified name using the UTF-7.imap decoding. See IMAP4rev1 spec, section 5.1.3

encode

public static String encode(String name)
Encodes the specified name using the UTF-7.imap encoding. See IMAP4rev1 spec, section 5.1.3

main

public static void main(String[] args)