public class Text
extends org.eclipse.jgit.diff.RawText
Modifier and Type | Field and Description |
---|---|
static Text |
EMPTY |
static byte[] |
NO_BYTES |
Constructor and Description |
---|
Text(byte[] r) |
Text(org.eclipse.jgit.lib.ObjectLoader ldr) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
asByteArray(org.eclipse.jgit.lib.ObjectLoader ldr) |
protected java.lang.String |
decode(int s,
int e) |
static Text |
forCommit(org.eclipse.jgit.lib.ObjectReader reader,
org.eclipse.jgit.lib.AnyObjectId commitId) |
static Text |
forMergeList(ComparisonType comparisonType,
org.eclipse.jgit.lib.ObjectReader reader,
org.eclipse.jgit.lib.AnyObjectId commitId) |
byte[] |
getContent() |
public static final byte[] NO_BYTES
public static final Text EMPTY
public Text(byte[] r)
public Text(org.eclipse.jgit.lib.ObjectLoader ldr) throws org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.errors.LargeObjectException, java.io.IOException
org.eclipse.jgit.errors.MissingObjectException
org.eclipse.jgit.errors.LargeObjectException
java.io.IOException
public static Text forCommit(org.eclipse.jgit.lib.ObjectReader reader, org.eclipse.jgit.lib.AnyObjectId commitId) throws java.io.IOException
java.io.IOException
public static Text forMergeList(ComparisonType comparisonType, org.eclipse.jgit.lib.ObjectReader reader, org.eclipse.jgit.lib.AnyObjectId commitId) throws java.io.IOException
java.io.IOException
public static byte[] asByteArray(org.eclipse.jgit.lib.ObjectLoader ldr) throws org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.errors.LargeObjectException, java.io.IOException
org.eclipse.jgit.errors.MissingObjectException
org.eclipse.jgit.errors.LargeObjectException
java.io.IOException
public byte[] getContent()
protected java.lang.String decode(int s, int e)
decode
in class org.eclipse.jgit.diff.RawText