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,
java.io.InputStream in) |
org.eclipse.jgit.transport.PackParser |
newPackParser(java.io.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,
java.io.InputStream in)
throws java.io.IOException
insert in class org.eclipse.jgit.lib.ObjectInserterjava.io.IOExceptionpublic 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(java.io.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 java.lang.AutoCloseableclose in class org.eclipse.jgit.lib.ObjectInserterpublic com.google.common.collect.ImmutableList<InsertedObject> getInsertedObjects()
public int getInsertedObjectCount()
public void clear()