public class NullVerifier extends java.lang.Object implements IDigestVerifier
| Modifier and Type | Field and Description |
|---|---|
boolean |
result |
| Constructor and Description |
|---|
NullVerifier()
Creates a verifier which always returns
true |
NullVerifier(boolean result)
Creates a verifier which always returns
result |
public NullVerifier()
truepublic NullVerifier(boolean result)
resultresult - public boolean verify(byte[] content)
verify in interface IDigestVerifierpublic boolean verify(java.io.File file)
throws java.io.IOException
verify in interface IDigestVerifierjava.io.IOExceptionpublic boolean verify(java.io.InputStream is)
throws java.io.IOException
verify in interface IDigestVerifierjava.io.IOExceptionpublic boolean verify(java.nio.channels.ByteChannel channel)
throws java.io.IOException
verify in interface IDigestVerifierjava.io.IOExceptionCopyright © 2014. All Rights Reserved.