jp.sourceforge.livez.mail.util
クラス UTF7
java.lang.Object
jp.sourceforge.livez.mail.util.UTF7
public final class UTF7
- extends Object
UTF-7 用ユーティリティクラスです。
- 作成者:
- 杉澤 浩二
メソッドの概要 |
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