
public class XORStreamWrapper extends Object implements IStreamWrapper
| Constructor and Description |
|---|
XORStreamWrapper(int[] key) |
| Modifier and Type | Method and Description |
|---|---|
void |
finishInputStream(InputStream in) |
void |
finishOutputStream(OutputStream out) |
int[] |
getKey() |
XORInputStream |
wrapInputStream(InputStream in) |
XOROutputStream |
wrapOutputStream(OutputStream out) |
public int[] getKey()
public XORInputStream wrapInputStream(InputStream in) throws IOException
wrapInputStream in interface IStreamWrapperIOExceptionpublic XOROutputStream wrapOutputStream(OutputStream out) throws IOException
wrapOutputStream in interface IStreamWrapperIOExceptionpublic void finishInputStream(InputStream in) throws IOException
finishInputStream in interface IStreamWrapperIOExceptionpublic void finishOutputStream(OutputStream out) throws IOException
finishOutputStream in interface IStreamWrapperIOExceptionCopyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.