public class AutoCRLFObjectLoader
extends org.eclipse.jgit.lib.ObjectLoader
| Constructor and Description |
|---|
AutoCRLFObjectLoader(org.eclipse.jgit.lib.ObjectLoader delegate,
org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(OutputStream out) |
byte[] |
getCachedBytes() |
byte[] |
getCachedBytes(int sizeLimit) |
long |
getSize() |
int |
getType() |
boolean |
isLarge() |
org.eclipse.jgit.lib.ObjectStream |
openStream() |
public AutoCRLFObjectLoader(org.eclipse.jgit.lib.ObjectLoader delegate,
org.eclipse.jgit.lib.CoreConfig.EolStreamType eolStreamType)
public int getType()
getType in class org.eclipse.jgit.lib.ObjectLoaderpublic long getSize()
getSize in class org.eclipse.jgit.lib.ObjectLoaderpublic boolean isLarge()
isLarge in class org.eclipse.jgit.lib.ObjectLoaderpublic byte[] getCachedBytes()
throws org.eclipse.jgit.errors.LargeObjectException
getCachedBytes in class org.eclipse.jgit.lib.ObjectLoaderorg.eclipse.jgit.errors.LargeObjectExceptionpublic byte[] getCachedBytes(int sizeLimit)
throws org.eclipse.jgit.errors.LargeObjectException,
org.eclipse.jgit.errors.MissingObjectException,
IOException
getCachedBytes in class org.eclipse.jgit.lib.ObjectLoaderorg.eclipse.jgit.errors.LargeObjectExceptionorg.eclipse.jgit.errors.MissingObjectExceptionIOExceptionpublic org.eclipse.jgit.lib.ObjectStream openStream()
throws org.eclipse.jgit.errors.MissingObjectException,
IOException
openStream in class org.eclipse.jgit.lib.ObjectLoaderorg.eclipse.jgit.errors.MissingObjectExceptionIOExceptionpublic void copyTo(OutputStream out) throws org.eclipse.jgit.errors.MissingObjectException, IOException
copyTo in class org.eclipse.jgit.lib.ObjectLoaderorg.eclipse.jgit.errors.MissingObjectExceptionIOExceptionCopyright © 2019 Cosium. All rights reserved.