public class FixityInputStream extends org.apache.commons.io.input.CountingInputStream
in
Constructor and Description |
---|
FixityInputStream(InputStream in,
MessageDigest digest)
Creates a
FilterInputStream by assigning the
argument in to the field this.in
so as to remember it for later use. |
Modifier and Type | Method and Description |
---|---|
MessageDigest |
getMessageDigest()
Retrieve the calculated digest for the input stream
|
afterRead, getByteCount, getCount, resetByteCount, resetCount, skip
public FixityInputStream(InputStream in, MessageDigest digest)
FilterInputStream
by assigning the
argument in
to the field this.in
so as to remember it for later use.in
- the underlying input stream, or null
if
this instance is to be created without an underlying stream.digest
- the given digestpublic MessageDigest getMessageDigest()
Copyright © 2013–2016 DuraSpace, Inc.. All rights reserved.