Remove redundant IStreamWrapper.
This commit is contained in:
parent
6d096beb3f
commit
02f34c02ec
@ -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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user