public class CharsetConvert extends Object
Constructor and Description |
---|
CharsetConvert(String clientEncoding,
String serverEncoding) |
Modifier and Type | Method and Description |
---|---|
String |
decode(String s)
字符串解码
|
String |
encode(String s)
字符串编码
|
boolean |
isEmpty(String s)
判断空字符串
|
public String encode(String s) throws UnsupportedEncodingException
s
- StringUnsupportedEncodingException
public String decode(String s) throws UnsupportedEncodingException
s
- StringUnsupportedEncodingException
public boolean isEmpty(String s)
s
- StringCopyright © 2013–2017 Alibaba Group. All rights reserved.