gnu.inet.imap
Class UTF7imap

java.lang.Object
  extended by gnu.inet.imap.UTF7imap

public final class UTF7imap
extends java.lang.Object

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

Author:
Chris Burdess

Method Summary
static java.lang.String decode(java.lang.String name)
          Decodes the specified name using the UTF-7.imap decoding.
static java.lang.String encode(java.lang.String name)
          Encodes the specified name using the UTF-7.imap encoding.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encode

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


decode

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


main

public static void main(java.lang.String[] args)


© Copyright 2003 The Free Software Foundation, all rights reserved