Package org.outerj.daisy.diff
Class DaisyDiff
- java.lang.Object
-
- org.outerj.daisy.diff.DaisyDiff
-
public class DaisyDiff extends Object
-
-
Constructor Summary
Constructors Constructor Description DaisyDiff()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
diffHTML(InputSource oldSource, InputSource newSource, ContentHandler consumer, String prefix, Locale locale)
Diffs two html files, outputting the result to the specified consumer.static void
diffTag(BufferedReader oldText, BufferedReader newText, ContentHandler consumer)
Diffs two html files word for word as source, outputting the result to the specified consumer.static void
diffTag(String oldText, String newText, ContentHandler consumer)
Diffs two html files word for word as source, outputting the result to the specified consumer.
-
-
-
Method Detail
-
diffHTML
public static void diffHTML(InputSource oldSource, InputSource newSource, ContentHandler consumer, String prefix, Locale locale) throws SAXException, IOException
Diffs two html files, outputting the result to the specified consumer.- Throws:
SAXException
IOException
-
diffTag
public static void diffTag(String oldText, String newText, ContentHandler consumer) throws Exception
Diffs two html files word for word as source, outputting the result to the specified consumer.- Throws:
Exception
-
diffTag
public static void diffTag(BufferedReader oldText, BufferedReader newText, ContentHandler consumer) throws Exception
Diffs two html files word for word as source, outputting the result to the specified consumer.- Throws:
Exception
-
-