- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/jkubos/diffator
- 软件文档: https://github.com/jkubos/diffator
软件介绍
Diffator 是一个 Java 实现的双向的内容差异 diff 比较库,相似度范围 0.0 ~ 1.0。
示例代码:
String[] wordsA = ...;
String[] wordsB = ...;
Content ca = new Content(wordsA);
Content cb = new Content(wordsB);
FileOutputStream fstr = new FileOutputStream("test.html");
SimpleHtmlDiffWriter writer = new SimpleHtmlDiffWriter(fstr);
writer.setTitle("My sample diff");
writer.setNewLinesStrategy(NewLinesStrategy.perBlock);
ContentComparator.compareStatic(ca, cb, writer);差异结果:
The Filter Bubble
Eli Pariser / Penguin Press / 2011-5-12 / GBP 16.45
In December 2009, Google began customizing its search results for each user. Instead of giving you the most broadly popular result, Google now tries to predict what you are most likely to click on. Ac......一起来看看 《The Filter Bubble》 这本书的介绍吧!
JS 压缩/解压工具
在线压缩/解压 JS 代码
RGB CMYK 转换工具
RGB CMYK 互转工具
