public class DigestWritableByteChannel extends FilterWritableByteChannel
channel| Constructor and Description |
|---|
DigestWritableByteChannel(WritableByteChannel channel,
MessageDigest digest)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
write(ByteBuffer src) |
close, isOpenpublic DigestWritableByteChannel(WritableByteChannel channel, MessageDigest digest)
channel - the output channeldigest - the message digest to associate with this channelpublic int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelwrite in class FilterWritableByteChannelIOExceptionCopyright © 2011-2013. All Rights Reserved.