Module org.eclipse.jgit
Class PackObjectSizeIndexLoader
java.lang.Object
org.eclipse.jgit.internal.storage.file.PackObjectSizeIndexLoader
Chooses the specific implementation of the object-size index based on the
file version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PackObjectSizeIndex
load
(InputStream in) Read an object size index from the stream
-
Constructor Details
-
PackObjectSizeIndexLoader
public PackObjectSizeIndexLoader()
-
-
Method Details
-
load
Read an object size index from the stream- Parameters:
in
- input stream at the beginning of the object size data- Returns:
- an implementation of the object size index
- Throws:
IOException
- error reading the stream, empty stream or content is not an object size index
-