public class ChecksumFileModule extends AbstractFileDependentModule
config, moduleName, version| Constructor and Description |
|---|
ChecksumFileModule() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
createChecksum(java.nio.file.Path filename,
java.lang.String type) |
ExtractionResult |
extractInformation(java.nio.file.Path path) |
static java.lang.String[] |
getCryptoImpls(java.lang.String serviceType) |
static java.lang.String |
getMD5Checksum(java.nio.file.Path filename,
java.lang.String type) |
java.lang.String |
getModuleDescription() |
static void |
main(java.lang.String[] args) |
void |
setModuleName()
By implementing this abstract method the name of the module is specified.
|
void |
setVersion() |
extractFileDependentInformationgetConfig, getHash, isSelected, setConfig, setSelected, supportsThisOS, toStringpublic void setModuleName()
AbstractModulesetModuleName in class AbstractModulepublic ExtractionResult extractInformation(java.nio.file.Path path)
extractInformation in class AbstractFileDependentModulepublic void setVersion()
setVersion in class AbstractModulepublic static byte[] createChecksum(java.nio.file.Path filename,
java.lang.String type)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String getMD5Checksum(java.nio.file.Path filename,
java.lang.String type)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getModuleDescription()
getModuleDescription in class AbstractModulepublic static java.lang.String[] getCryptoImpls(java.lang.String serviceType)
public static void main(java.lang.String[] args)