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, waitgetPath, getSize, getVersionpublic AbstractObjectBasedResourceEntry(ENTRY_TYPE resource) throws NoSuchAlgorithmException, IOException
NoSuchAlgorithmExceptionIOExceptionprotected abstract EnumMap<HashAlgorithm,List<Byte>> processDigests(ENTRY_TYPE resource) throws NoSuchAlgorithmException, IOException
NoSuchAlgorithmExceptionIOExceptionprotected ENTRY_TYPE getResource()
public Map<HashAlgorithm,List<Byte>> getDigestValues()
getDigestValues in interface ResourceEntrypublic List<Byte> getDigestValue(HashAlgorithm key) throws NoSuchAlgorithmException
getDigestValue in interface ResourceEntryNoSuchAlgorithmExceptionCopyright © 2020 National Institute of Standards and Technology. All rights reserved.