StreamMd5AndLength Class
- java.
lang. Object - com.
microsoft. azure. storage. core. StreamMd5AndLength
- com.
public class StreamMd5AndLength
RESERVED FOR INTERNAL USE. Represents a stream descriptor that contains the stream size and MD5 hash.
Method Summary
Modifier and Type | Method and Description |
---|---|
long | getCurrentOperationByteCount() |
MessageDigest | getDigest() |
long | getLength() |
String | getMd5() |
void | setCurrentOperationByteCount(final long currentOperationByteCount) |
void |
setDigest(MessageDigest digest)
Sets the MessageDigest, used to calculate MD5 |
void | setLength(final long length) |
void | setMd5(final String md5) |
Method Details
getCurrentOperationByteCount
public long getCurrentOperationByteCount()
Returns:
getDigest
public MessageDigest getDigest()
Returns:
getLength
public long getLength()
Returns:
getMd5
public String getMd5()
Returns:
setCurrentOperationByteCount
public void setCurrentOperationByteCount(final long currentOperationByteCount)
Parameters:
setDigest
public void setDigest(MessageDigest digest)
Sets the MessageDigest, used to calculate MD5
Parameters:
setLength
public void setLength(final long length)
Parameters:
setMd5
public void setMd5(final String md5)
Parameters:
Applies to
Azure SDK for Java