Are there java libraries to do a word-based diff?

Posted by Mycol on Stack Overflow See other posts from Stack Overflow or by Mycol
Published on 2010-05-24T16:46:34Z Indexed on 2010/05/24 16:51 UTC
Read the original article Hit count: 145

Filed under:
|

I have two pieces of text. I would like to make a word-based diff between them (like whe unix utility wdiff does) but with more information in the output (I mean, the character's posizion where the added/delited word starts).

I need to do this in Java, so a simple output of the differences (like wdiff) doesn't suite for me: I would like to manipulate objects representing differences.

© Stack Overflow or respective owner

Related posts about java

Related posts about diff