Class 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)  
    • Constructor Detail

      • AutoCRLFObjectReader

        public AutoCRLFObjectReader​(org.eclipse.jgit.lib.ObjectReader delegate,
                                    org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType)
    • Method Detail

      • 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