Package | Description |
---|---|
org.jboss.aerogear.sync.diffmatchpatch |
This package contains classes for the DiffMatchPatch synchronizer core
|
Modifier and Type | Method and Description |
---|---|
static DiffMatchPatch.Builder |
DiffMatchPatch.builder() |
DiffMatchPatch.Builder |
DiffMatchPatch.Builder.diffEditCost(int editCost)
Specifies the cost of an empty edit operation in terms of edit characters.
|
DiffMatchPatch.Builder |
DiffMatchPatch.Builder.matchDistance(int distance)
Specifies how far to search for a match (0 = exact location, 1000+ = broad match).
|
DiffMatchPatch.Builder |
DiffMatchPatch.Builder.matchMaxbits(short maxbits)
Spedifies number of bits in an int.
|
DiffMatchPatch.Builder |
DiffMatchPatch.Builder.matchThreshold(float threshold)
Specifies the matchThreshold at what point is no match declared (0.0 = perfection, 1.0 = very loose).
|
DiffMatchPatch.Builder |
DiffMatchPatch.Builder.patchDeleteThreshold(float threshold)
Specifies the patchThreshold at what point is no match declared (0.0 = perfection, 1.0 = very loose).
|
DiffMatchPatch.Builder |
DiffMatchPatch.Builder.patchMargin(int margin)
Specifies the patch patchMargin/chunk size for context length.
|
DiffMatchPatch.Builder |
DiffMatchPatch.Builder.patchTimeout(float timeout)
Specifies the number of seconds to map a diff before giving up (0 for infinity).
|
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.