| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
lmContext |
java.lang.String |
lmPatched |
Patcher.Result |
result |
java.util.List<java.lang.String> |
wmContext |
java.util.List<java.lang.String> |
wmPatched |
| Constructor and Description |
|---|
WorkingPatch(Patch other) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFuzzyResult(float fuzzQuality) |
void |
addOffsetResult(int offset,
int fileLength) |
void |
fail() |
java.util.OptionalInt |
getAppliedDelta() |
LineRange |
getKeepoutRange2() |
void |
linesToChars(CharRepresenter rep) |
void |
succeed(PatchMode mode,
Patch appliedPatch) |
void |
wordsToChars(CharRepresenter rep) |
combine, getAutoHeader, getContextLines, getContextLines, getHeader, getPatchedLines, getPatchedLines, getRange1, getRange2, getTrimmedRange1, getTrimmedRange2, recalculateLength, split, toString, trim, uncollatepublic Patcher.Result result
public java.lang.String lmContext
public java.lang.String lmPatched
public java.util.List<java.lang.String> wmContext
public java.util.List<java.lang.String> wmPatched
public WorkingPatch(Patch other)
public void fail()
public void addOffsetResult(int offset,
int fileLength)
public void addFuzzyResult(float fuzzQuality)
public void linesToChars(CharRepresenter rep)
public void wordsToChars(CharRepresenter rep)
public LineRange getKeepoutRange2()
public java.util.OptionalInt getAppliedDelta()