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:
the currentOperationByteCount
getDigest
public MessageDigest getDigest()
Returns:
the intermediateMD5
getLength
public long getLength()
Returns:
the length
getMd5
public String getMd5()
Returns:
the md5
setCurrentOperationByteCount
public void setCurrentOperationByteCount(final long currentOperationByteCount)
Parameters:
currentOperationByteCount
- the currentOperationByteCount to set
setDigest
public void setDigest(MessageDigest digest)
Sets the MessageDigest, used to calculate MD5
Parameters:
digest
- the digest to set
setLength
public void setLength(final long length)
Parameters:
length
- the length to set
setMd5
public void setMd5(final String md5)
Parameters:
md5
- the md5 to set
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java