jp.sourceforge.livez.mail.util
クラス UTF7

java.lang.Object
  上位を拡張 jp.sourceforge.livez.mail.util.UTF7

public final class UTF7
extends Object

UTF-7 用ユーティリティウラスです。

作成者:
杉澤 浩二

コンストラクタの概要
UTF7()
           
 
メソッドの概要
static String decode(byte[] input)
          UTF7 から Unicode へ変換(デコード)します。
static String decode(byte[] bytes, int length)
          UTF7 から Unicode へ変換(デコード)します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

UTF7

public UTF7()
メソッドの詳細

decode

public static String decode(byte[] input)
                     throws IOException
UTF7 から Unicode へ変換(デコード)します。

パラメータ:
input - UTF7 コードで表されたバイト配列
戻り値:
Unicode へ変換された文字列
例外:
IOException

decode

public static String decode(byte[] bytes,
                            int length)
                     throws IOException
UTF7 から Unicode へ変換(デコード)します。

パラメータ:
bytes - UTF7 コードで表されたバイト配列
length - input の処理する桁数
戻り値:
Unicode へ変換された文字列
例外:
IOException