public static String urlEncode(String content, String lngType) throws UnsupportedEncodingException {
return URLEncoder.encode(content, lngType);
}
public static String urlDecode(String content, String lngType) throws UnsupportedEncodingException {
return URLDecoder.decode(content, lngType);
}
'android' 카테고리의 다른 글
안드로이드 로그 레벨 색상 (0) | 2019.08.12 |
---|---|
String to byte 계산 (0) | 2019.04.08 |
Base64Encode, Decode (0) | 2019.04.08 |
SharedPreferences (0) | 2019.04.08 |
앱 이름 가져오기 (0) | 2019.04.08 |