public abstract class AbstractFileDigester extends Object implements FileDigester
FileDigester.| Modifier and Type | Field and Description |
|---|---|
protected String |
algorithm
The algorithm used to compute checksum digests.
|
STREAMING_BUFFER_SIZE| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFileDigester(String algorithm)
Build a new instance of
AbstractFileDigester. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm()
Get the algorithm used to compute checksum digests.
|
String |
getFileExtension()
The filename extension for this digester.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculateprotected final String algorithm
protected AbstractFileDigester(String algorithm)
AbstractFileDigester.algorithm - the algorithm used to compute checksum digests.public String getAlgorithm()
getAlgorithm in interface FileDigesterpublic String getFileExtension()
getFileExtension in interface FileDigesterCopyright © 2010–2018. All rights reserved.