public abstract class AbstractObjectBasedResourceEntry<ENTRY_TYPE> extends Object implements ResourceEntry
Constructor and Description |
---|
AbstractObjectBasedResourceEntry(ENTRY_TYPE resource) |
Modifier and Type | Method and Description |
---|---|
List<Byte> |
getDigestValue(HashAlgorithm key) |
Map<HashAlgorithm,List<Byte>> |
getDigestValues() |
protected ENTRY_TYPE |
getResource() |
protected abstract EnumMap<HashAlgorithm,List<Byte>> |
processDigests(ENTRY_TYPE resource) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPath, getSize, getVersion
public AbstractObjectBasedResourceEntry(ENTRY_TYPE resource) throws NoSuchAlgorithmException, IOException
NoSuchAlgorithmException
IOException
protected abstract EnumMap<HashAlgorithm,List<Byte>> processDigests(ENTRY_TYPE resource) throws NoSuchAlgorithmException, IOException
NoSuchAlgorithmException
IOException
protected ENTRY_TYPE getResource()
public Map<HashAlgorithm,List<Byte>> getDigestValues()
getDigestValues
in interface ResourceEntry
public List<Byte> getDigestValue(HashAlgorithm key) throws NoSuchAlgorithmException
getDigestValue
in interface ResourceEntry
NoSuchAlgorithmException
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.