org.eclipse.jgit.revwalk
Class RevBlob
java.lang.Object
org.eclipse.jgit.lib.AnyObjectId
org.eclipse.jgit.lib.ObjectId
org.eclipse.jgit.lib.ObjectIdOwnerMap.Entry
org.eclipse.jgit.revwalk.RevObject
org.eclipse.jgit.revwalk.RevBlob
- All Implemented Interfaces:
- Serializable, Comparable<Object>
public class RevBlob
- extends RevObject
A binary file, or a symbolic link.
- See Also:
- Serialized Form
Method Summary |
int |
getType()
Get Git object type. |
Methods inherited from class org.eclipse.jgit.lib.ObjectId |
equals, fromRaw, fromRaw, fromRaw, fromRaw, fromString, fromString, isId, toObjectId, toString, zeroId |
Methods inherited from class org.eclipse.jgit.lib.AnyObjectId |
abbreviate, compareTo, compareTo, compareTo, compareTo, copy, copyRawTo, copyRawTo, copyRawTo, copyRawTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, equals, equals, equals, getByte, getFirstByte, getName, hashCode, name, startsWith |
RevBlob
protected RevBlob(AnyObjectId id)
- Create a new blob reference.
- Parameters:
id
- object name for the blob.
getType
public final int getType()
- Description copied from class:
RevObject
- Get Git object type. See
Constants
.
- Specified by:
getType
in class RevObject
- Returns:
- object type
Copyright © 2013. All Rights Reserved.