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 String | decode(int s,
      int e) | 
| static Text | forCommit(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,
            IOException
org.eclipse.jgit.errors.MissingObjectExceptionorg.eclipse.jgit.errors.LargeObjectExceptionIOExceptionpublic static Text forCommit(org.eclipse.jgit.lib.ObjectReader reader, org.eclipse.jgit.lib.AnyObjectId commitId) throws IOException
IOExceptionpublic static byte[] asByteArray(org.eclipse.jgit.lib.ObjectLoader ldr)
                          throws org.eclipse.jgit.errors.MissingObjectException,
                                 org.eclipse.jgit.errors.LargeObjectException,
                                 IOException
org.eclipse.jgit.errors.MissingObjectExceptionorg.eclipse.jgit.errors.LargeObjectExceptionIOExceptionpublic byte[] getContent()
protected String decode(int s, int e)
decode in class org.eclipse.jgit.diff.RawText