Class TextDifferToMarkdown
java.lang.Object
com.kazurayam.materialstore.base.reduce.differ.AbstractTextDiffer
com.kazurayam.materialstore.base.reduce.differ.TextDifferToMarkdown
- All Implemented Interfaces:
Differ
uses java-diff-utils on GitHub
https://github.com/java-diff-utils/java-diff-utils
to make diff of 2 texts
-
Field Summary
Fields inherited from class com.kazurayam.materialstore.base.reduce.differ.AbstractTextDiffer
NEW_TAG, OLD_TAG, store
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmakeTextDiffContent
(Store store, Material original, Material revised, Charset charset) Methods inherited from class com.kazurayam.materialstore.base.reduce.differ.AbstractTextDiffer
readAllLines, readMaterial, setCharset, splitStringWithOldNewTags, stuffDiff
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.kazurayam.materialstore.base.reduce.differ.Differ
makeNoMaterialFoundMaterial, readImage, stuffDiff, toByteArray
-
Constructor Details
-
TextDifferToMarkdown
-
-
Method Details
-
makeTextDiffContent
public TextDiffContent makeTextDiffContent(Store store, Material original, Material revised, Charset charset) throws MaterialstoreException - Specified by:
makeTextDiffContent
in classAbstractTextDiffer
- Throws:
MaterialstoreException
-