Top Description Constructors Methods
org.eclipse.jgit.internal.storage.file

public Class PackObjectSizeIndexLoader

extends Object
Class Inheritance
Imports
java.io.IOException, .InputStream, java.text.MessageFormat, java.util.Arrays, org.eclipse.jgit.internal.JGitText

Chooses the specific implementation of the object-size index based on the file version.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static PackObjectSizeIndex

Returns:

an implementation of the object size index
load
(InputStream
input stream at the beginning of the object size data
in
)

Read an object size index from the stream

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PackObjectSizeIndexLoaderback to summary
public PackObjectSizeIndexLoader()

Method Detail

loadback to summary
public static PackObjectSizeIndex load(InputStream in) throws IOException

Read an object size index from the stream

Parameters
in:InputStream

input stream at the beginning of the object size data

Returns:PackObjectSizeIndex

an implementation of the object size index

Exceptions
IOException:
error reading the stream, empty stream or content is not an object size index