Package 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<AnyObjectId>
A binary file, or a symbolic link.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
getType()
Get Git object type.(package private) void
(package private) void
parseHeaders
(RevWalk walk) Methods inherited from class org.eclipse.jgit.revwalk.RevObject
add, add, appendCoreFlags, getId, has, hasAll, hasAny, remove, remove, toString
Methods inherited from class org.eclipse.jgit.lib.ObjectId
equals, fromRaw, fromRaw, fromRaw, fromRaw, fromString, fromString, isId, toObjectId, toString, zeroId
-
Constructor Details
-
RevBlob
Create a new blob reference.- Parameters:
id
- object name for the blob.
-
-
Method Details
-
getType
public final int getType()Get Git object type. SeeConstants
. -
parseHeaders
void parseHeaders(RevWalk walk) throws MissingObjectException, IncorrectObjectTypeException, IOException - Specified by:
parseHeaders
in classRevObject
- Throws:
MissingObjectException
IncorrectObjectTypeException
IOException
-
parseBody
void parseBody(RevWalk walk) throws MissingObjectException, IncorrectObjectTypeException, IOException - Specified by:
parseBody
in classRevObject
- Throws:
MissingObjectException
IncorrectObjectTypeException
IOException
-