public class ChecksumRecord extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
isDir()
Determine if a checksum is for a directory (folder).
|
static ChecksumRecord |
parse(String buffer)
Parse a checksum record into component values.
|
boolean |
sameAs(ChecksumRecord rec) |
String |
toString() |
public static String dirDigest
public boolean sameAs(ChecksumRecord rec)
public static ChecksumRecord parse(String buffer)
buffer
- The string containing the checksum record.ChecksumRecord
or null if the passed string is not in the correct format.public boolean isDir()
checksum
- The checksum to compare to the directory checksum pattern.Copyright © 2014-2016 Regents University of California. All Rights Reserved.