public class UnpackedObject
extends java.lang.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 java.io.IOException
raw - complete contents of the compressed object.id - expected ObjectId of the object, used only for error reporting
in exceptions.java.io.IOException - the object cannot be parsed.Copyright © 2012. All Rights Reserved.