public class ZipIndexDiffWriter extends Object implements ZipIndexDiffHandler
| Constructor and Description |
|---|
ZipIndexDiffWriter(StringOut stringOut,
boolean showDiff,
boolean showUnchanged) |
| Modifier and Type | Method and Description |
|---|---|
void |
added(ZipIndexEntry otherZipIndexEntry) |
void |
begin(ZipIndexDiff zipIndexDiff) |
protected void |
contentAdded(ZipIndexEntry zipIndexEntry,
ZipIndexEntry otherZipIndexEntry,
List<String> targetLines) |
protected void |
contentDeleted(ZipIndexEntry zipIndexEntry,
List<String> sourceLines,
ZipIndexEntry otherZipIndexEntry) |
protected void |
contentModified(ZipIndexEntry zipIndexEntry,
List<String> sourceLines,
ZipIndexEntry otherZipIndexEntry,
List<String> targetLines) |
protected void |
contentUnchanged(ZipIndexEntry zipIndexEntry,
List<String> sourceLines,
ZipIndexEntry otherZipIndexEntry) |
void |
deleted(ZipIndexEntry zipIndexEntry) |
void |
finished() |
void |
modified(ZipIndexEntry zipIndexEntry,
ZipIndexEntry otherZipIndexEntry,
ContentDiff contentDiff) |
void |
renamed(ZipIndexEntry zipIndexEntry,
ZipIndexEntry otherZipIndexEntry) |
void |
unchanged(ZipIndexEntry zipIndexEntry,
ZipIndexEntry otherZipIndexEntry) |
public ZipIndexDiffWriter(StringOut stringOut, boolean showDiff, boolean showUnchanged)
public void begin(ZipIndexDiff zipIndexDiff)
begin in interface ZipIndexDiffHandlerpublic void added(ZipIndexEntry otherZipIndexEntry)
added in interface ZipIndexDiffHandlerpublic void deleted(ZipIndexEntry zipIndexEntry)
deleted in interface ZipIndexDiffHandlerpublic void unchanged(ZipIndexEntry zipIndexEntry, ZipIndexEntry otherZipIndexEntry)
unchanged in interface ZipIndexDiffHandlerpublic void renamed(ZipIndexEntry zipIndexEntry, ZipIndexEntry otherZipIndexEntry)
renamed in interface ZipIndexDiffHandlerpublic void modified(ZipIndexEntry zipIndexEntry, ZipIndexEntry otherZipIndexEntry, ContentDiff contentDiff)
modified in interface ZipIndexDiffHandlerpublic void finished()
finished in interface ZipIndexDiffHandlerprotected void contentAdded(ZipIndexEntry zipIndexEntry, ZipIndexEntry otherZipIndexEntry, List<String> targetLines)
protected void contentDeleted(ZipIndexEntry zipIndexEntry, List<String> sourceLines, ZipIndexEntry otherZipIndexEntry)
protected void contentUnchanged(ZipIndexEntry zipIndexEntry, List<String> sourceLines, ZipIndexEntry otherZipIndexEntry)
protected void contentModified(ZipIndexEntry zipIndexEntry, List<String> sourceLines, ZipIndexEntry otherZipIndexEntry, List<String> targetLines)
Copyright © 2020. All rights reserved.