java - String/File comparison and highlight their differences -


i want compare 2 strings , highlight exact differences, until using stringutils.difference , requirement highlight exact difference beyond compare , other differencing tool. thought of using bc script java , generating report in html, later extract data or show is, occurred bc proprietary software , have ask them buy software (because using bc.exe in script command) question is

1) there way call beyondcompare java , use other manner (that isnt illegal). perhaps library? 2) if not other gpl tool provides byte byte comparison, more precise if "a+b" , "a-b" "-" should highlighted(not line of change, found gpl tools provide that, wrong). 3) there effective algorithm implement , achieve intended behaviour.

long post, please kind.. :|


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -