Package com.cosium.code.format.git
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 Summary
Constructors Constructor Description AutoCRLFObjectStream(org.eclipse.jgit.lib.ObjectStream delegate, org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetSize()intgetType()intread()-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Method Detail
-
getType
public int getType()
- Specified by:
getTypein classorg.eclipse.jgit.lib.ObjectStream
-
getSize
public long getSize()
- Specified by:
getSizein classorg.eclipse.jgit.lib.ObjectStream
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
-