|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdifflib.DiffRowGenerator.Builder
public static class DiffRowGenerator.Builder
This class used for building the DiffRowGenerator.
| Constructor Summary | |
|---|---|
DiffRowGenerator.Builder()
|
|
| Method Summary | |
|---|---|
DiffRowGenerator |
build()
Build the DiffRowGenerator. |
DiffRowGenerator.Builder |
columnWidth(int width)
Set the column with of generated lines of original and revised texts. |
DiffRowGenerator.Builder |
ignoreBlankLines(boolean val)
Ignore blank lines in generating diff rows or not. |
DiffRowGenerator.Builder |
ignoreWhiteSpaces(boolean val)
Ignore white spaces in generating diff rows or not. |
DiffRowGenerator.Builder |
InlineNewCssClass(String cssClass)
Set the css class used for displaying changes in the revised text. |
DiffRowGenerator.Builder |
InlineNewTag(String tag)
Set the tag used for displaying changes in the revised text. |
DiffRowGenerator.Builder |
InlineOldCssClass(String cssClass)
Set the css class used for displaying changes in the original text. |
DiffRowGenerator.Builder |
InlineOldTag(String tag)
Set the tag used for displaying changes in the original text. |
DiffRowGenerator.Builder |
showInlineDiffs(boolean val)
Show inline diffs in generating diff rows or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiffRowGenerator.Builder()
| Method Detail |
|---|
public DiffRowGenerator.Builder showInlineDiffs(boolean val)
val - the value to set. Default: false.
public DiffRowGenerator.Builder ignoreWhiteSpaces(boolean val)
val - the value to set. Default: true.
public DiffRowGenerator.Builder ignoreBlankLines(boolean val)
val - the value to set. Default: true.
public DiffRowGenerator.Builder InlineOldTag(String tag)
tag - the tag to set. Without angle brackets. Default: span.
public DiffRowGenerator.Builder InlineNewTag(String tag)
tag - the tag to set. Without angle brackets. Default: span.
public DiffRowGenerator.Builder InlineOldCssClass(String cssClass)
cssClass - the tag to set. Without any quotes, just word. Default: editOldInline.
public DiffRowGenerator.Builder InlineNewCssClass(String cssClass)
cssClass - the tag to set. Without any quotes, just word. Default: editNewInline.
public DiffRowGenerator.Builder columnWidth(int width)
width - the width to set. Making it < 0 doesn't have any sense. Default 80.
public DiffRowGenerator build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||