Interface InputStreamTransformer
public interface InputStreamTransformer
Transform a stream into some other kind of stream. May be used to apply filtering or other
kinds of transformations.
-
Method Summary
Modifier and TypeMethodDescriptiontransform
(PlexusIoResource resource, InputStream inputStream) Transform the supplied input stream into another input stream.
-
Method Details
-
transform
@Nonnull InputStream transform(@Nonnull PlexusIoResource resource, @Nonnull InputStream inputStream) throws IOException Transform the supplied input stream into another input stream.The close method will be delegated through the entire call chain
- Parameters:
resource
- The p-io resource the stream is forinputStream
- The stream to transform- Returns:
- A transformed stream or possibly the supplied stream
- Throws:
IOException
-