Class AutoCRLFObjectLoader
java.lang.Object
org.eclipse.jgit.lib.ObjectLoader
com.cosium.code.format.git.AutoCRLFObjectLoader
public class AutoCRLFObjectLoader
extends org.eclipse.jgit.lib.ObjectLoader
- Author:
- Réda Housni Alaoui
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.lib.ObjectLoader
org.eclipse.jgit.lib.ObjectLoader.Filter, org.eclipse.jgit.lib.ObjectLoader.SmallObject -
Constructor Summary
ConstructorsConstructorDescriptionAutoCRLFObjectLoader(org.eclipse.jgit.lib.ObjectLoader delegate, org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType) -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyTo(OutputStream out) byte[]byte[]getCachedBytes(int sizeLimit) longgetSize()intgetType()booleanisLarge()org.eclipse.jgit.lib.ObjectStreamMethods inherited from class org.eclipse.jgit.lib.ObjectLoader
getBytes, getBytes
-
Constructor Details
-
AutoCRLFObjectLoader
public AutoCRLFObjectLoader(org.eclipse.jgit.lib.ObjectLoader delegate, org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType)
-
-
Method Details
-
getType
public int getType()- Specified by:
getTypein classorg.eclipse.jgit.lib.ObjectLoader
-
getSize
public long getSize()- Specified by:
getSizein classorg.eclipse.jgit.lib.ObjectLoader
-
isLarge
public boolean isLarge()- Overrides:
isLargein classorg.eclipse.jgit.lib.ObjectLoader
-
getCachedBytes
public byte[] getCachedBytes() throws org.eclipse.jgit.errors.LargeObjectException- Specified by:
getCachedBytesin classorg.eclipse.jgit.lib.ObjectLoader- Throws:
org.eclipse.jgit.errors.LargeObjectException
-
getCachedBytes
public byte[] getCachedBytes(int sizeLimit) throws org.eclipse.jgit.errors.LargeObjectException, org.eclipse.jgit.errors.MissingObjectException, IOException - Overrides:
getCachedBytesin classorg.eclipse.jgit.lib.ObjectLoader- Throws:
org.eclipse.jgit.errors.LargeObjectExceptionorg.eclipse.jgit.errors.MissingObjectExceptionIOException
-
openStream
public org.eclipse.jgit.lib.ObjectStream openStream() throws org.eclipse.jgit.errors.MissingObjectException, IOException- Specified by:
openStreamin classorg.eclipse.jgit.lib.ObjectLoader- Throws:
org.eclipse.jgit.errors.MissingObjectExceptionIOException
-
copyTo
public void copyTo(OutputStream out) throws org.eclipse.jgit.errors.MissingObjectException, IOException - Overrides:
copyToin classorg.eclipse.jgit.lib.ObjectLoader- Throws:
org.eclipse.jgit.errors.MissingObjectExceptionIOException
-