Java org.eclipse.jgit.lib ObjectReader fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.lib ObjectReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.lib ObjectReader.

The text is from its open source code.

Field

intOBJ_ANY
Type hint indicating the caller doesn't know the type.

Method

AbbreviatedObjectIdabbreviate(AnyObjectId objectId, int len)
Obtain a unique abbreviation (prefix) of an object SHA-1.
AbbreviatedObjectIdabbreviate(AnyObjectId objectId)
Obtain a unique abbreviation (prefix) of an object SHA-1.
voidclose()

Release any resources used by this reader.

longgetObjectSize(AnyObjectId objectId, int typeHint)
Get only the size of an object.
AsyncObjectSizeQueuegetObjectSize(Iterable objectIds, final boolean reportMissing)
Asynchronous object size lookup.
SetgetShallowCommits()
Returns IDs for those commits which should be considered as shallow.
booleanhas(AnyObjectId objectId)
Does the requested object exist in this database?
booleanhas(AnyObjectId objectId, int typeHint)
Does the requested object exist in this database?
ObjectLoaderopen(AnyObjectId objectId)
Open an object from this database.
ObjectLoaderopen(AnyObjectId objectId, int typeHint)
Open an object from this database.
AsyncObjectLoaderQueueopen(Iterable objectIds, final boolean reportMissing)
Asynchronous object opening.
Collectionresolve(AbbreviatedObjectId id)
Resolve an abbreviated ObjectId to its full form.