public class DetailedFileInputStream
extends java.io.FileInputStream
Constructor and Description |
---|
DetailedFileInputStream(java.io.File file,
org.dataone.service.types.v1.Checksum expectedChecksum)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.dataone.service.types.v1.Checksum |
getExpectedChecksum()
Get the expected checksum of the source file
|
java.io.File |
getFile()
Get the source file
|
public DetailedFileInputStream(java.io.File file, org.dataone.service.types.v1.Checksum expectedChecksum) throws java.io.FileNotFoundException
file
- the source file where the input stream comes fromexpectedChecksum
- the expected checksum of the source filejava.io.FileNotFoundException
Copyright © 2023 Regents of the University of California. All Rights Reserved.