Package org.eclipse.jgit.lib
Class ObjectStream
- java.lang.Object
-
- java.io.InputStream
-
- org.eclipse.jgit.lib.ObjectStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Direct Known Subclasses:
ObjectStream.Filter,ObjectStream.SmallStream
public abstract class ObjectStream extends java.io.InputStreamStream of data coming from an object loaded byObjectLoader.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjectStream.FilterSimple filter stream around another stream.static classObjectStream.SmallStreamSimple stream around the cached byte array created by a loader.
-
Constructor Summary
Constructors Constructor Description ObjectStream()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract longgetSize()abstract intgetType()
-
-
-
Method Detail
-
getType
public abstract int getType()
- Returns:
- Git object type, see
Constants.
-
getSize
public abstract long getSize()
- Returns:
- total size of object in bytes
-
-