google-diff-match-patch比较文件 demo

上传者: modern1314 | 上传时间: 2013-05-02 00:00:00 | 文件大小: 304KB | 文件类型: zip
要对文本文件的进行比较的时候,可以考虑使用google-diff-match-patch,它可以进行比较、匹配和生成补丁的操作 google-diff-match-patch这个类库提供了强大的算法用于纯文本内容的差异比较,匹配,打补丁,实现同步纯文本所需要执行一些操作。支持多种语言包括:Java、JavaScript、C++、C#、Objective C、Lua和Python。

文件下载

资源详情

[{"title":"( 59 个子文件 304KB ) google-diff-match-patch比较文件 demo","children":[{"title":"diff_match_patch_20121119","children":[{"title":"demos","children":[{"title":"demo_match.html <span style='color:#111;'> 4.04KB </span>","children":null,"spread":false},{"title":"demo_diff.html <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"demo_patch.html <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"dart","children":[{"title":"PatchClass.dart <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"DiffMatchPatchTest.dart <span style='color:#111;'> 46.16KB </span>","children":null,"spread":false},{"title":"README.txt <span style='color:#111;'> 483B </span>","children":null,"spread":false},{"title":"DiffMatchPatch.dart <span style='color:#111;'> 808B </span>","children":null,"spread":false},{"title":"DiffClass.dart <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"DMPClass.dart <span style='color:#111;'> 74.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"csharp","children":[{"title":"DiffMatchPatch.cs <span style='color:#111;'> 85.22KB </span>","children":null,"spread":false},{"title":"DiffMatchPatchTest.cs <span style='color:#111;'> 54.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"cpp","children":[{"title":"diff_match_patch_test.h <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"diff_match_patch.cpp <span style='color:#111;'> 67.19KB </span>","children":null,"spread":false},{"title":"diff_match_patch_test.cpp <span style='color:#111;'> 53.06KB </span>","children":null,"spread":false},{"title":"diff_match_patch.pro <span style='color:#111;'> 323B </span>","children":null,"spread":false},{"title":"diff_match_patch.h <span style='color:#111;'> 20.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"COPYING <span style='color:#111;'> 9.94KB </span>","children":null,"spread":false},{"title":"python2","children":[{"title":"diff_match_patch_test.py <span style='color:#111;'> 40.77KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"diff_match_patch.py <span style='color:#111;'> 66.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"objectivec","children":[{"title":"NSString+JavaSubstring.h <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"DiffMatchPatchCFUtilities.c <span style='color:#111;'> 20.84KB </span>","children":null,"spread":false},{"title":"Speedtest2.txt <span style='color:#111;'> 11.64KB </span>","children":null,"spread":false},{"title":"Configurations","children":[{"title":"Base.xcconfig <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Base+SnowLeopard.xcconfig <span style='color:#111;'> 47B </span>","children":null,"spread":false},{"title":"Version.xcconfig <span style='color:#111;'> 49B </span>","children":null,"spread":false}],"spread":true},{"title":"Info.plist <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"NSString+UnicharUtilities.h <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"English.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 48B </span>","children":null,"spread":false}],"spread":false},{"title":"Speedtest1.txt <span style='color:#111;'> 12.67KB </span>","children":null,"spread":false},{"title":"NSString+UnicharUtilities.m <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"Tests","children":[{"title":"DiffMatchPatchTest.h <span style='color:#111;'> 892B </span>","children":null,"spread":false},{"title":"DiffMatchPatchTest-Info.plist <span style='color:#111;'> 700B </span>","children":null,"spread":false},{"title":"DiffMatchPatchTest.m <span style='color:#111;'> 70.51KB </span>","children":null,"spread":false},{"title":"speedtest.m <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"DiffMatchPatch.m <span style='color:#111;'> 90.61KB </span>","children":null,"spread":false},{"title":"NSString+JavaSubstring.m <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"DiffMatchPatch.xcodeproj","children":[{"title":"project.pbxproj <span style='color:#111;'> 31.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"DiffMatchPatch_Prefix.pch <span style='color:#111;'> 170B </span>","children":null,"spread":false},{"title":"NSString+UriCompatibility.h <span style='color:#111;'> 1000B </span>","children":null,"spread":false},{"title":"NSString+UriCompatibility.m <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"NSMutableDictionary+DMPExtensions.m <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"DiffMatchPatch.h <span style='color:#111;'> 7.39KB </span>","children":null,"spread":false},{"title":"MinMaxMacros.h <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"NSMutableDictionary+DMPExtensions.h <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"speedtest_Prefix.pch <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"DiffMatchPatchCFUtilities.h <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"python3","children":[{"title":"diff_match_patch_test.py <span style='color:#111;'> 40.64KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"diff_match_patch.py <span style='color:#111;'> 65.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.txt <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"javascript","children":[{"title":"diff_match_patch_test.html <span style='color:#111;'> 4.86KB </span>","children":null,"spread":false},{"title":"diff_match_patch.js <span style='color:#111;'> 18.74KB </span>","children":null,"spread":false},{"title":"diff_match_patch_test.js <span style='color:#111;'> 37.41KB </span>","children":null,"spread":false},{"title":"diff_match_patch_uncompressed.js <span style='color:#111;'> 74.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"lua","children":[{"title":"diff_match_patch_test.lua <span style='color:#111;'> 38.19KB </span>","children":null,"spread":false},{"title":"diff_match_patch.lua <span style='color:#111;'> 72.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"diff_match_patch.java <span style='color:#111;'> 86.93KB </span>","children":null,"spread":false},{"title":"diff_match_patch_test.java <span style='color:#111;'> 47.45KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • xushaoping1234 :
    demo 完整可以run起来,学习了,感谢分享!
    2018-11-17
  • tom881314 :
    对我帮助非常大
    2017-12-04
  • qq_16934199 :
    挺有参考性的,感谢分享
    2017-08-07
  • kangkang203 :
    功能很强大
    2016-12-24
  • 笨笨熊三号 :
    还行,但不太适合我这的场景
    2016-09-22

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明