程序包 org.anyline.net
类 VCFUtil
java.lang.Object
org.anyline.net.VCFUtil
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
VCFUtil
public VCFUtil()
-
-
方法详细资料
-
format
生成通讯录格式- 参数:
mobile- 手机号name- 姓名- 返回:
- cvf格式内容 BEGIN:VCARD VERSION:2.1 N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:;encode(姓名);;; TEL;CELL:手机号 END:VCARD
-
format
-
format
批量生成- 参数:
mobiles- 手机号或手机号,姓名- 返回:
- String
-
encode
编码 UTF8 quoted-printable- 参数:
str- 需要编码的字符串- 返回:
- 编码后的字符串
-
decode
解码 UTF8 quoted-printable- 参数:
str- 需要解码的字符串- 返回:
- 解码后的字符串
-