public class XORStreamWrapper extends Object implements IStreamWrapper
IStreamWrapper.Factory
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 IStreamWrapper
IOException
public XOROutputStream wrapOutputStream(OutputStream out) throws IOException
wrapOutputStream
in interface IStreamWrapper
IOException
public void finishInputStream(InputStream in) throws IOException
finishInputStream
in interface IStreamWrapper
IOException
public void finishOutputStream(OutputStream out) throws IOException
finishOutputStream
in interface IStreamWrapper
IOException
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html