Package | Description |
---|---|
com.github.difflib.text |
Modifier and Type | Method and Description |
---|---|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.columnWidth(int width)
Set the column width of generated lines of original and revised texts.
|
static DiffRowGenerator.Builder |
DiffRowGenerator.create() |
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.equalizer(BiPredicate<String,String> equalizer)
Provide an equalizer for diff processing.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.ignoreWhiteSpaces(boolean val)
Ignore white spaces in generating diff rows or not.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.inlineDiffBySplitter(Function<String,List<String>> inlineDiffSplitter)
To provide some customized splitting a splitter can be provided.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.inlineDiffByWord(boolean inlineDiffByWord)
Per default each character is separatly processed.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.lineNormalizer(Function<String,String> lineNormalizer)
By default DiffRowGenerator preprocesses lines for HTML output.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.mergeOriginalRevised(boolean mergeOriginalRevised)
Merge the complete result within the original text.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.newTag(BiFunction<DiffRow.Tag,Boolean,String> generator)
Generator for New-Text-Tags.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.newTag(Function<Boolean,String> generator)
Generator for New-Text-Tags.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.oldTag(BiFunction<DiffRow.Tag,Boolean,String> generator)
Generator for Old-Text-Tags.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.oldTag(Function<Boolean,String> generator)
Generator for Old-Text-Tags.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.processDiffs(Function<String,String> processDiffs)
Processor for diffed text parts.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.replaceOriginalLinefeedInChangesWithSpaces(boolean replace)
Sometimes it happens that a change contains multiple lines.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.reportLinesUnchanged(boolean val)
Give the originial old and new text lines to Diffrow without any additional processing
and without any tags to highlight the change.
|
DiffRowGenerator.Builder |
DiffRowGenerator.Builder.showInlineDiffs(boolean val)
Show inline diffs in generating diff rows or not.
|
Copyright © 2009–2020 java-diff-utils. All rights reserved.