Remove redundant IStreamWrapper.

This commit is contained in:
Captain ALM 2023-05-21 10:27:58 +01:00
parent 6d096beb3f
commit 02f34c02ec
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -1,27 +0,0 @@
package com.captainalm.lib.calmnet.stream;
import java.io.InputStream;
import java.io.OutputStream;
/**
* This interface provides the ability to wrap passed streams.
*
* @author Captain ALM
*/
public interface IStreamWrapper {
/**
* Wraps an {@link InputStream} returning a wrapped stream.
*
* @param toWrap The stream to wrap.
* @return The wrapped stream.
*/
InputStream wrapInputStream(InputStream toWrap);
/**
* Wraps an {@link OutputStream} returning the wrapped stream.
*
* @param toWrap The stream to wrap.
* @return The wrapped stream.
*/
OutputStream wrapOutputStream(OutputStream toWrap);
}