public abstract class RevisionNote<T>
extends java.lang.Object
Constructor and Description |
---|
RevisionNote(org.eclipse.jgit.lib.ObjectReader reader,
org.eclipse.jgit.lib.ObjectId noteId) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkParsed() |
com.google.common.collect.ImmutableList<T> |
getEntities() |
T |
getOnlyEntity() |
byte[] |
getRaw() |
void |
parse() |
protected abstract java.util.List<T> |
parse(byte[] raw,
int offset) |
protected static void |
trimLeadingEmptyLines(byte[] bytes,
org.eclipse.jgit.util.MutableInteger p) |
public RevisionNote(org.eclipse.jgit.lib.ObjectReader reader, org.eclipse.jgit.lib.ObjectId noteId)
protected static void trimLeadingEmptyLines(byte[] bytes, org.eclipse.jgit.util.MutableInteger p)
public byte[] getRaw()
public T getOnlyEntity()
public com.google.common.collect.ImmutableList<T> getEntities()
public void parse() throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
protected abstract java.util.List<T> parse(byte[] raw, int offset) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
protected void checkParsed()