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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.lib.ObjectStream
org.eclipse.jgit.lib.ObjectStream.Filter, org.eclipse.jgit.lib.ObjectStream.SmallStream -
Constructor Summary
ConstructorsConstructorDescriptionAutoCRLFObjectStream(org.eclipse.jgit.lib.ObjectStream delegate, org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType) -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
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:
getTypein classorg.eclipse.jgit.lib.ObjectStream
-
getSize
public long getSize()- Specified by:
getSizein classorg.eclipse.jgit.lib.ObjectStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-