public class ResourceSummary extends PartSummary
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
TAG |
构造器和说明 |
---|
ResourceSummary(PartSummary partSummary) |
ResourceSummary(java.lang.String partName,
java.lang.String contentType,
java.lang.String ref) |
ResourceSummary(java.lang.String partName,
java.lang.String contentType,
java.lang.String ref,
int referenceCounting,
java.lang.String digest,
java.lang.String algorithm) |
限定符和类型 | 方法和说明 |
---|---|
ResourceSummary |
clone() |
int |
decreaseReferenceCounting()
减少引用计数,为0不再操作
|
java.lang.String |
getAlgorithm() |
java.lang.String |
getDigest() |
int |
getReferenceCounting()
获取当前引用计数
|
int |
increaseReferenceCounting()
增加引用计数
|
void |
setAlgorithm(java.lang.String algorithm) |
void |
setDigest(java.lang.String digest) |
void |
setReferenceCounting(int referenceCounting)
设置当前引用计数
|
check, getContentType, getPartName, getRef, setContentType, setPartName, setRef
public static final java.lang.String TAG
public ResourceSummary(java.lang.String partName, java.lang.String contentType, java.lang.String ref)
public ResourceSummary(java.lang.String partName, java.lang.String contentType, java.lang.String ref, int referenceCounting, java.lang.String digest, java.lang.String algorithm)
public ResourceSummary(PartSummary partSummary)
public java.lang.String getDigest()
public void setDigest(java.lang.String digest)
public int getReferenceCounting()
public void setReferenceCounting(int referenceCounting)
public int increaseReferenceCounting()
public int decreaseReferenceCounting()
public java.lang.String getAlgorithm()
public void setAlgorithm(java.lang.String algorithm)
public ResourceSummary clone()
clone
在类中 PartSummary