Class AutoCRLFObjectStream

java.lang.Object
java.io.InputStream
org.eclipse.jgit.lib.ObjectStream
com.cosium.code.format.git.AutoCRLFObjectStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class AutoCRLFObjectStream extends org.eclipse.jgit.lib.ObjectStream
Author:
Réda Housni Alaoui
  • Constructor Details

    • AutoCRLFObjectStream

      public AutoCRLFObjectStream(org.eclipse.jgit.lib.ObjectStream delegate, org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType)
  • Method Details

    • getType

      public int getType()
      Specified by:
      getType in class org.eclipse.jgit.lib.ObjectStream
    • getSize

      public long getSize()
      Specified by:
      getSize in class org.eclipse.jgit.lib.ObjectStream
    • read

      public int read() throws IOException
      Specified by:
      read in class InputStream
      Throws:
      IOException