org.eclipse.jgit.patch
Class FormatError
java.lang.Object
org.eclipse.jgit.patch.FormatError
public class FormatError
- extends java.lang.Object
An error in a patch script
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getSeverity
public FormatError.Severity getSeverity()
- Returns:
- the severity of the error.
getMessage
public java.lang.String getMessage()
- Returns:
- a message describing the error.
getBuffer
public byte[] getBuffer()
- Returns:
- the byte buffer holding the patch script.
getOffset
public int getOffset()
- Returns:
- byte offset within
getBuffer()
where the error is
getLineText
public java.lang.String getLineText()
- Returns:
- line of the patch script the error appears on.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2013. All Rights Reserved.