From 02f34c02ecb24a3c0123464720aa85581588e779 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Sun, 21 May 2023 10:27:58 +0100 Subject: [PATCH] Remove redundant IStreamWrapper. --- .../lib/calmnet/stream/IStreamWrapper.java | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/com/captainalm/lib/calmnet/stream/IStreamWrapper.java diff --git a/src/com/captainalm/lib/calmnet/stream/IStreamWrapper.java b/src/com/captainalm/lib/calmnet/stream/IStreamWrapper.java deleted file mode 100644 index 7e8cdc3..0000000 --- a/src/com/captainalm/lib/calmnet/stream/IStreamWrapper.java +++ /dev/null @@ -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); -}