jabref 6.0-beta.1
org.jabref.jablib
org.jabref.logic.git.io
GitFileReader
Verified Owner
Top
Constructors
Methods
org.jabref.logic.git.io
public
Class GitFileReader
extends
Object
Class Inheritance
java.lang.Object
org.jabref.logic.git.io.GitFileReader
Annotations
@NullMarked
Imports
java.
io.
IOException
,
java.
nio.
charset.
StandardCharsets
,
java.
nio.
file.
Path
,
java.
util.
Optional
,
org.
jabref.
logic.
JabRefException
,
org.
eclipse.
jgit.
api.
Git
,
org.
eclipse.
jgit.
errors.
IncorrectObjectTypeException
,
.MissingObjectException
,
org.
eclipse.
jgit.
lib.
ObjectId
,
.ObjectLoader
,
.Repository
,
org.
eclipse.
jgit.
revwalk.
RevCommit
,
.RevTree
,
org.
eclipse.
jgit.
treewalk.
TreeWalk
,
org.
jspecify.
annotations.
NullMarked
Constructor Summary
Access
Constructor and Description
public
GitFileReader
()
Method Summary
Modifier and Type
Method and Description
public
static
Optional
<
String
>
readFileFromCommit
(
Git
git,
RevCommit
commit,
Path
relativePath
)
Inherited from
java.lang.Object
:
clone
equals
finalize
getClass
hashCode
notify
notifyAll
toString
wait
wait
wait
Constructor Detail
GitFileReader
back to summary
public
GitFileReader
()
Method Detail
readFileFromCommit
back to summary
public
static
Optional
<
String
>
readFileFromCommit
(
Git
git,
RevCommit
commit,
Path
relativePath
)
throws
JabRefException