|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.cubby.internal.util.URLBodyEncoder
public class URLBodyEncoder
URL ボディ部のエンコーダです。
フィールドの概要 | |
---|---|
protected static byte |
ESCAPE_CHAR
|
protected static BitSet |
WWW_FORM_URL
BitSet of www-form-url safe characters. |
メソッドの概要 | |
---|---|
static byte[] |
encode(byte[] bytes)
Encodes an array of bytes into an array of URL safe 7-bit characters. |
static String |
encode(String pString,
String charset)
Encodes a string into its URL safe form using the specified string charset. |
static byte[] |
encodeUrl(BitSet urlsafe,
byte[] bytes)
Encodes an array of bytes into an array of URL safe 7-bit characters. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected static byte ESCAPE_CHAR
protected static final BitSet WWW_FORM_URL
メソッドの詳細 |
---|
public static final byte[] encodeUrl(BitSet urlsafe, byte[] bytes)
urlsafe
- bitset of characters deemed URL safebytes
- array of bytes to convert to URL safe characters
public static byte[] encode(byte[] bytes)
bytes
- array of bytes to convert to URL safe characters
public static String encode(String pString, String charset) throws UnsupportedEncodingException
pString
- string to convert to a URL safe formcharset
- the charset for pString
UnsupportedEncodingException
- Thrown if charset is not supported
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |