Class PatchParserUtil


  • public class PatchParserUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PatchParserUtil​(java.lang.String patchString)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Integer> findLineInDiff​(int newLine)  
      java.util.Optional<java.lang.Integer> findOldLine​(java.lang.Integer newLine)  
      boolean isLineInDiff​(java.lang.Integer newLine)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PatchParserUtil

        public PatchParserUtil​(java.lang.String patchString)
    • Method Detail

      • isLineInDiff

        public boolean isLineInDiff​(java.lang.Integer newLine)
      • findOldLine

        public java.util.Optional<java.lang.Integer> findOldLine​(java.lang.Integer newLine)
      • findLineInDiff

        public java.util.Optional<java.lang.Integer> findLineInDiff​(int newLine)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object