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

    Constructors
    Constructor
    Description
    AutoCRLFObjectReader(org.eclipse.jgit.lib.ObjectReader delegate, org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Set<org.eclipse.jgit.lib.ObjectId>
     
    org.eclipse.jgit.lib.ObjectReader
     
    org.eclipse.jgit.lib.ObjectLoader
    open(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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      newReader in class org.eclipse.jgit.lib.ObjectReader
    • resolve

      public Collection<org.eclipse.jgit.lib.ObjectId> resolve(org.eclipse.jgit.lib.AbbreviatedObjectId id) throws IOException
      Specified by:
      resolve in class org.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:
      open in class org.eclipse.jgit.lib.ObjectReader
      Throws:
      org.eclipse.jgit.errors.MissingObjectException
      org.eclipse.jgit.errors.IncorrectObjectTypeException
      IOException
    • getShallowCommits

      public Set<org.eclipse.jgit.lib.ObjectId> getShallowCommits() throws IOException
      Specified by:
      getShallowCommits in class org.eclipse.jgit.lib.ObjectReader
      Throws:
      IOException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in class org.eclipse.jgit.lib.ObjectReader