Class Md5Checksum
- java.lang.Object
-
- gov.nasa.pds.imaging.generate.automatic.elements.Md5Checksum
-
-
Constructor Summary
Constructors Constructor Description Md5Checksum()
Md5Checksum(PDSObject pdsObject, long offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
createChecksum()
createChecksumString
getUnits()
String
getValue()
void
setParameters(PDSObject pdsObject)
-
-
-
Field Detail
-
file
public File file
-
-
Constructor Detail
-
Md5Checksum
public Md5Checksum()
-
Md5Checksum
public Md5Checksum(PDSObject pdsObject, long offset)
-
-
Method Detail
-
createChecksum
public byte[] createChecksum()
createChecksum- Returns:
- if this.file is empty then try ImageInputStream The value must be supplied from the constructor of the PDSObject
-
setParameters
public void setParameters(PDSObject pdsObject)
- Specified by:
setParameters
in interfaceElement
-
-