Java org.eclipse.jgit.patch HunkHeader fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.patch HunkHeader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.patch HunkHeader.

The text is from its open source code.

Method

byte[]getBuffer()
Get the byte array holding this hunk's patch script.
intgetEndOffset()
Get offset one past the end of the hunk in #getBuffer() .
FileHeadergetFileHeader()
Get header for the file this hunk applies to.
intgetNewLineCount()
Get total number of post-image lines this hunk covers.
intgetNewStartLine()
Get first line number in the post-image file where the hunk starts.
OldImagegetOldImage()
Get information about the old image mentioned in this hunk.
intgetStartOffset()
Get offset of the start of this hunk in #getBuffer() .
EditListtoEditList()
Convert to a list describing the content edits performed within the hunk.