public class UnpackedObject extends Object
Constructor and Description |
---|
UnpackedObject() |
Modifier and Type | Method and Description |
---|---|
static ObjectLoader |
parse(byte[] raw,
AnyObjectId id)
Parse an object from the unpacked object format.
|
public static ObjectLoader parse(byte[] raw, AnyObjectId id) throws IOException
raw
- complete contents of the compressed object.id
- expected ObjectId of the object, used only for error reporting
in exceptions.IOException
- the object cannot be parsed.Copyright © 2017 Eclipse JGit Project. All rights reserved.