|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.sourceforge.livez.util.URLUtils
public final class URLUtils
HTML 形式を符号化/復号化する為のユーティリティクラスです。
| メソッドの概要 | |
|---|---|
static String |
decode(String s)
x-www-form-urlencoded 文字列を復号化します。 |
static String |
encode(String s)
文字列を application/x-www-form-urlencoded 形式に変換します。 |
static byte[] |
getByteArray(URL url)
|
static byte[] |
getByteArray(URLConnection con)
|
static String |
getCharSet(URLConnection con)
|
static URLConnection |
getURLConnection(URL url)
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| メソッドの詳細 |
|---|
public static final String decode(String s)
throws IllegalArgumentException
s - 復号化対象の文字列
IllegalArgumentExceptionpublic static final String encode(String s)
s - 変換対象の文字列
public static URLConnection getURLConnection(URL url)
throws IOException
IOException
public static byte[] getByteArray(URL url)
throws IOException
IOException
public static byte[] getByteArray(URLConnection con)
throws IOException
IOExceptionpublic static String getCharSet(URLConnection con)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||