Package com.cosium.code.format.git
Class AutoCRLFObjectReader
java.lang.Object
org.eclipse.jgit.lib.ObjectReader
com.cosium.code.format.git.AutoCRLFObjectReader
- All Implemented Interfaces:
AutoCloseable
public class AutoCRLFObjectReader
extends org.eclipse.jgit.lib.ObjectReader
- Author:
- Réda Housni Alaoui
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.lib.ObjectReader
org.eclipse.jgit.lib.ObjectReader.Filter -
Field Summary
Fields inherited from class org.eclipse.jgit.lib.ObjectReader
OBJ_ANY, streamFileThreshold -
Constructor Summary
ConstructorsConstructorDescriptionAutoCRLFObjectReader(org.eclipse.jgit.lib.ObjectReader delegate, org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Set<org.eclipse.jgit.lib.ObjectId> org.eclipse.jgit.lib.ObjectReaderorg.eclipse.jgit.lib.ObjectLoaderopen(org.eclipse.jgit.lib.AnyObjectId objectId, int typeHint) Collection<org.eclipse.jgit.lib.ObjectId> resolve(org.eclipse.jgit.lib.AbbreviatedObjectId id) Methods inherited from class org.eclipse.jgit.lib.ObjectReader
abbreviate, abbreviate, createObjectReachabilityChecker, createReachabilityChecker, getBitmapIndex, getCreatedFromInserter, getObjectSize, getObjectSize, getStreamFileThreshold, has, has, open, open, setAvoidUnreachableObjects, setStreamFileThreshold
-
Constructor Details
-
AutoCRLFObjectReader
public AutoCRLFObjectReader(org.eclipse.jgit.lib.ObjectReader delegate, org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType)
-
-
Method Details
-
newReader
public org.eclipse.jgit.lib.ObjectReader newReader()- Specified by:
newReaderin classorg.eclipse.jgit.lib.ObjectReader
-
resolve
public Collection<org.eclipse.jgit.lib.ObjectId> resolve(org.eclipse.jgit.lib.AbbreviatedObjectId id) throws IOException - Specified by:
resolvein classorg.eclipse.jgit.lib.ObjectReader- Throws:
IOException
-
open
public org.eclipse.jgit.lib.ObjectLoader open(org.eclipse.jgit.lib.AnyObjectId objectId, int typeHint) throws org.eclipse.jgit.errors.MissingObjectException, org.eclipse.jgit.errors.IncorrectObjectTypeException, IOException - Specified by:
openin classorg.eclipse.jgit.lib.ObjectReader- Throws:
org.eclipse.jgit.errors.MissingObjectExceptionorg.eclipse.jgit.errors.IncorrectObjectTypeExceptionIOException
-
getShallowCommits
- Specified by:
getShallowCommitsin classorg.eclipse.jgit.lib.ObjectReader- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classorg.eclipse.jgit.lib.ObjectReader
-