com.j_phone.io
クラス URLDecoder

java.lang.Object
  |
  +--com.j_phone.io.URLDecoder

public final class URLDecoder
extends java.lang.Object

x-www-form-urlencode 形式の文字列をデコードするためのクラスです。

このクラスには、x-www-form-urlencode 形式の文字列をデコードした後、 デフォルトエンコーディングの文字列とみなして Unicode 文字列に変換するメソッドがあります。

x-www-form-urlencode 形式の文字列をデコードするには、次の規則に従って変換を行います。

導入されたバージョン:
JSCL 1.2

メソッドの概要
static java.lang.String decode(java.lang.String in)
          x-www-form-urlencoded形式の文字列をデコードします。
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

decode

public static java.lang.String decode(java.lang.String in)
x-www-form-urlencoded形式の文字列をデコードします。 デコードした文字列は、デフォルトエンコーディングの文字列とみなして Unicode文字列に変換します。
パラメータ:
in - 変換対象の文字列
戻り値:
変換後の文字列
例外:
NullPointerException - 引数in が null の場合に発生する
java.lang.IllegalArgumentException - 引数 in にデコードできない文字列が含まれている場合に発生する