public class CryptorOutputStream extends OutputStreamWrapper
| Constructor and Description |
|---|
CryptorOutputStream(Cryptor cryptor,
OutputStream delegate)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
getDelegate, isClosed, requireNotClosed, writeflushprivate Cryptor cryptor
public CryptorOutputStream(Cryptor cryptor, OutputStream delegate)
cryptor - the Cryptor.delegate - the OutputStream to wrap.public void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamWrapperIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamWrapperIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamWrapperIOExceptionCopyright © 2001–2019 mmm-Team. All rights reserved.