Package org.outerj.daisy.diff
Class DaisyDiff
java.lang.Object
org.outerj.daisy.diff.DaisyDiff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddiffHTML(InputSource oldSource, InputSource newSource, ContentHandler consumer, String prefix, Locale locale) Diffs two html files, outputting the result to the specified consumer.static voiddiffTag(BufferedReader oldText, BufferedReader newText, ContentHandler consumer) Diffs two html files word for word as source, outputting the result to the specified consumer.static voiddiffTag(String oldText, String newText, ContentHandler consumer) Diffs two html files word for word as source, outputting the result to the specified consumer.
-
Constructor Details
-
DaisyDiff
public DaisyDiff()
-
-
Method Details
-
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:
SAXExceptionIOException
-
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
-