public class InMemoryInserter
extends org.eclipse.jgit.lib.ObjectInserter
| Constructor and Description |
|---|
InMemoryInserter(org.eclipse.jgit.lib.ObjectReader reader) |
InMemoryInserter(org.eclipse.jgit.lib.Repository repo) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
void |
flush() |
int |
getInsertedObjectCount() |
com.google.common.collect.ImmutableList<InsertedObject> |
getInsertedObjects() |
org.eclipse.jgit.lib.ObjectId |
insert(InsertedObject obj) |
org.eclipse.jgit.lib.ObjectId |
insert(int type,
byte[] data) |
org.eclipse.jgit.lib.ObjectId |
insert(int type,
byte[] data,
int off,
int len) |
org.eclipse.jgit.lib.ObjectId |
insert(int type,
long length,
InputStream in) |
org.eclipse.jgit.transport.PackParser |
newPackParser(InputStream in) |
org.eclipse.jgit.lib.ObjectReader |
newReader() |
public InMemoryInserter(org.eclipse.jgit.lib.ObjectReader reader)
public InMemoryInserter(org.eclipse.jgit.lib.Repository repo)
public org.eclipse.jgit.lib.ObjectId insert(int type,
long length,
InputStream in)
throws IOException
insert in class org.eclipse.jgit.lib.ObjectInserterIOExceptionpublic org.eclipse.jgit.lib.ObjectId insert(int type,
byte[] data)
insert in class org.eclipse.jgit.lib.ObjectInserterpublic org.eclipse.jgit.lib.ObjectId insert(int type,
byte[] data,
int off,
int len)
insert in class org.eclipse.jgit.lib.ObjectInserterpublic org.eclipse.jgit.lib.ObjectId insert(InsertedObject obj)
public org.eclipse.jgit.transport.PackParser newPackParser(InputStream in)
newPackParser in class org.eclipse.jgit.lib.ObjectInserterpublic org.eclipse.jgit.lib.ObjectReader newReader()
newReader in class org.eclipse.jgit.lib.ObjectInserterpublic void flush()
flush in class org.eclipse.jgit.lib.ObjectInserterpublic void close()
close in interface AutoCloseableclose in class org.eclipse.jgit.lib.ObjectInserterpublic com.google.common.collect.ImmutableList<InsertedObject> getInsertedObjects()
public int getInsertedObjectCount()
public void clear()