Commit ad503643 by zhiwei

更新说明文档

parent e229722e
...@@ -15,18 +15,21 @@ Download the latest JAR or grab via Maven: ...@@ -15,18 +15,21 @@ Download the latest JAR or grab via Maven:
</dependency> </dependency>
-----------------原创转发验证Example-------------------- -----------------原创转发验证Example--------------------
通过读取文件获取相应的链接及文件信息,文件中必须包含"来源"列 //存放数据集合,key为文章url,必须包含来源列
Map<String,Map<String,Object>> dataMap = ReadMediaData.getUrl(dataList); Map<String,Map<String,Object>> dataMap = new HashMap<String,Map<String,Object>>
dataMap的key为文章链接url
//添加来源到自定义来源列表 //添加来源到自定义来源列表
SourceData.addUserSource(source); SourceData.addUserSource(source);
//开始验证 //开始验证
dataMap = SourceForward.getSourceForward(dataMap); dataMap = SourceForward.getSourceForward(dataMap);
----------------根据链接匹配自媒体帐号Example------------
//存放数据集合,key为文章url
Map<String,Map<String,Object>> dataMap = new HashMap<String,Map<String,Object>>
Map<String,Map<String,Object>> mediaselfMap = SourceForward.getMediaSelfSource(mediaselfMap);
-----------------链接是否删除验证Example-------------------------------------- -----------------链接是否删除验证Example--------------------------------------
//通过读取文件获取相应的链接及文件信息 //存放数据集合,key为文章url
Map<String,Map<String,Object>> dataMap = ReadMediaData.getUrlLive(dataList); Map<String,Map<String,Object>> dataMap = new HashMap<String,Map<String,Object>>
dataMap的key为文章链接url
//开始验证 //开始验证
dataMap = URLLive.verificationURLLive(dataMap); dataMap = URLLive.verificationURLLive(dataMap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment