
public class XOROutputStream extends DelegatingOutputStream
out| Constructor and Description |
|---|
XOROutputStream(OutputStream out,
int... key) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getKey() |
void |
write(int b)
Writes the specified
byte to this output stream. |
close, flush, getDelegatewrite, writepublic XOROutputStream(OutputStream out, int... key)
public int[] getKey()
public void write(int b)
throws IOException
DelegatingOutputStreambyte to this output stream.
The write method of DelegatingOutputStream calls the write method of its
underlying output stream, that is, it performs out.write(b).
Implements the abstract write method of OutputStream.
write in class DelegatingOutputStreamb - the byte.IOException - if an I/O error occurs.Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.