Package org.eclipse.jgit.lib
Class ObjectStream
- java.lang.Object
-
- java.io.InputStream
-
- org.eclipse.jgit.lib.ObjectStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
ObjectStream.Filter,ObjectStream.SmallStream
public abstract class ObjectStream extends InputStream
Stream 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()Get total size of object in bytesabstract intgetType()Get Git object type, seeConstants.-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-