Class PatchHunk


  • public class PatchHunk
    extends Object
    • Constructor Detail

      • PatchHunk

        public PatchHunk​(int startLineBefore,
                         int endLineBefore,
                         int startLineAfter,
                         int endLineAfter)
    • Method Detail

      • getStartLineBefore

        public int getStartLineBefore()
      • getEndLineBefore

        public int getEndLineBefore()
      • getStartLineAfter

        public int getStartLineAfter()
      • getEndLineAfter

        public int getEndLineAfter()
      • addLine

        public void addLine​(PatchLine line)
      • isNewContent

        public boolean isNewContent()
      • isDeletedContent

        public boolean isDeletedContent()
      • getText

        public String getText()
      • isNoNewLineAtEnd

        public boolean isNoNewLineAtEnd()