Class ObjectStream

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ObjectStream.Filter
      Simple filter stream around another stream.
      static class  ObjectStream.SmallStream
      Simple 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 long getSize()
      Get total size of object in bytes
      abstract int getType()
      Get Git object type, see Constants.
      • Methods inherited from class java.io.InputStream

        available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectStream

        public ObjectStream()
    • Method Detail

      • getType

        public abstract int getType()
        Get Git object type, see Constants.
        Returns:
        Git object type, see Constants.
      • getSize

        public abstract long getSize()
        Get total size of object in bytes
        Returns:
        total size of object in bytes