Modifier and Type | Method and Description |
---|---|
String |
AbstractStreamingDigester.calc() |
String |
StreamingDigester.calc()
Calculate the current checksum.
|
String |
Digester.calc(File file)
Calculate a checksum for a file.
|
String |
AbstractDigester.calc(File file) |
static String |
DigestUtils.cleanChecksum(String rawChecksum,
Digester digester,
String expectedFilename)
Take a raw checksum string and verify that it matches the expectedFilename and digester, then
return the trimmed checksum string.
|
static String |
DigestUtils.cleanChecksum(String checksum,
String algorithm,
String path) |
File |
ChecksumFile.createChecksum(File referenceFile,
Digester digester)
Creates a checksum file of the provided referenceFile.
|
boolean |
ChecksumFile.isValidChecksum(File checksumFile)
Given a checksum file, check to see if the file it represents is valid according to the checksum.
|
void |
AbstractStreamingDigester.reset() |
void |
StreamingDigester.reset()
Reset the hashcode calculation algorithm.
|
void |
AbstractStreamingDigester.update(InputStream is) |
void |
StreamingDigester.update(InputStream is)
Update the checksum with the content of the input stream.
|
protected static void |
AbstractStreamingDigester.update(InputStream is,
MessageDigest digest) |
void |
Digester.verify(File file,
String checksum)
Verify that a checksum is correct.
|
void |
AbstractDigester.verify(File file,
String checksum) |
Copyright © 2001–2015 Codehaus Plexus. All rights reserved.