Packages

c

com.google.cloud.tools.jib.hash

CountingDigestOutputStream

class CountingDigestOutputStream extends DigestOutputStream

A DigestOutputStream that also keeps track of the total number of bytes written.

Linear Supertypes
DigestOutputStream, FilterOutputStream, OutputStream, Flushable, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CountingDigestOutputStream
  2. DigestOutputStream
  3. FilterOutputStream
  4. OutputStream
  5. Flushable
  6. Closeable
  7. AutoCloseable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CountingDigestOutputStream(outputStream: OutputStream)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def close(): Unit
    Definition Classes
    FilterOutputStream → OutputStream → Closeable → AutoCloseable
    Annotations
    @throws( classOf[java.io.IOException] )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def flush(): Unit
    Definition Classes
    FilterOutputStream → OutputStream → Flushable
    Annotations
    @throws( classOf[java.io.IOException] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getMessageDigest(): MessageDigest
    Definition Classes
    DigestOutputStream
  13. def getTotalBytes(): Long

    returns

    the total number of bytes that were hashed

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def on(arg0: Boolean): Unit
    Definition Classes
    DigestOutputStream
  20. def setMessageDigest(arg0: MessageDigest): Unit
    Definition Classes
    DigestOutputStream
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toBlobDescriptor(): BlobDescriptor

    Builds a BlobDescriptor with the hash and size of the bytes written.

    Builds a BlobDescriptor with the hash and size of the bytes written. The buffer resets after this method is called, so this method should only be called once per BlobDescriptor.

    returns

    the built BlobDescriptor.

  23. def toString(): String
    Definition Classes
    DigestOutputStream → AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  27. def write(singleByte: Int): Unit
    Definition Classes
    CountingDigestOutputStream → DigestOutputStream → FilterOutputStream → OutputStream
  28. def write(data: Array[Byte], offset: Int, length: Int): Unit
    Definition Classes
    CountingDigestOutputStream → DigestOutputStream → FilterOutputStream → OutputStream
  29. def write(arg0: Array[Byte]): Unit
    Definition Classes
    FilterOutputStream → OutputStream
    Annotations
    @throws( classOf[java.io.IOException] )

Inherited from DigestOutputStream

Inherited from FilterOutputStream

Inherited from OutputStream

Inherited from Flushable

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped