Package org.pipecraft.pipes.utils
Interface PipeReaderSupplier<T,M>
-
- Type Parameters:
T- The type of the items the produced pipes work withM- The metadata type
public interface PipeReaderSupplier<T,M>An interface for reader pipe creators.- Author:
- Zacharya Haitin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pipe<T>get(SizedInputStream is, M metadata)
-
-
-
Method Detail
-
get
Pipe<T> get(SizedInputStream is, M metadata) throws IOException, PipeException
- Parameters:
is- SizedInputStream the pipe should read from.metadata- some additional data describing the data source- Returns:
- The created pipe.
- Throws:
IOException- In case of creation error due to IO problem.PipeException
-
-