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
-
-
Constructor Summary
Constructors Constructor Description AutoCRLFObjectReader(org.eclipse.jgit.lib.ObjectReader delegate, org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Set<org.eclipse.jgit.lib.ObjectId>getShallowCommits()org.eclipse.jgit.lib.ObjectReadernewReader()org.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)
-
-
-
Method Detail
-
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
public Set<org.eclipse.jgit.lib.ObjectId> getShallowCommits() throws IOException
- 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
-
-