|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alibaba.druid.filter.encoding.CharsetConvert
public class CharsetConvert
字符编码转换器
| Constructor Summary | |
|---|---|
CharsetConvert(String clientEncoding,
String serverEncoding)
|
|
| Method Summary | |
|---|---|
String |
decode(String s)
字符串解码 |
String |
encode(String s)
字符串编码 |
boolean |
isEmpty(String s)
判断空字符串 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharsetConvert(String clientEncoding,
String serverEncoding)
| Method Detail |
|---|
public String encode(String s)
throws UnsupportedEncodingException
s - String
UnsupportedEncodingException
public String decode(String s)
throws UnsupportedEncodingException
s - String
UnsupportedEncodingExceptionpublic boolean isEmpty(String s)
s - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||