public class AttachmentUtil extends Object
| 构造器和说明 |
|---|
AttachmentUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
addFontTag(String content,
String fontSize)
一般情况下,content内容如下
[link url=\"http://ibotcluster.online.uairobot.com/robot/app/bjhg/attachment
.action?
|
static List<String> |
getAttachmengURL(String content)
返回附件的的下载地址
|
static List<String> |
getAttachmengURL(String content,
String regex)
返回附件的的下载地址
|
static boolean |
isAttachment(String content)
判断返回的消息是不是附件消息 1.包含 attachment.action?
|
Copyright © 2022. All rights reserved.