Package org.pipecraft.pipes.utils
Interface PipeFactory<P,T>
-
- Type Parameters:
P- The type of the parameter used for pipe creationT- The type of the items the produced pipes work with
public interface PipeFactory<P,T>An interface for pipe creation based on some parameter. The standardFunctioninterface isn't good enough, because we want to allow IOExceptions.- Author:
- Eyal Schneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pipe<T>get(P param)
-
-
-
Method Detail
-
get
Pipe<T> get(P param) throws IOException
- Parameters:
param- A parameter for the pipe creation- Returns:
- The created pipe
- Throws:
IOException- In case of creation error due to IO problem
-
-