Class AbstractPlexusIoResourceCollection.IdentityTransformer
- java.lang.Object
-
- org.codehaus.plexus.components.io.resources.AbstractPlexusIoResourceCollection.IdentityTransformer
-
- All Implemented Interfaces:
InputStreamTransformer
- Enclosing class:
- AbstractPlexusIoResourceCollection
static class AbstractPlexusIoResourceCollection.IdentityTransformer extends java.lang.Object implements InputStreamTransformer
-
-
Constructor Summary
Constructors Constructor Description IdentityTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
transform(PlexusIoResource resource, java.io.InputStream inputStream)
Transform the supplied input stream into another input stream.
-
-
-
Method Detail
-
transform
@Nonnull public java.io.InputStream transform(@Nonnull PlexusIoResource resource, @Nonnull java.io.InputStream inputStream) throws java.io.IOException
Description copied from interface:InputStreamTransformer
Transform the supplied input stream into another input stream. The close method will be delegated through the entire call chain- Specified by:
transform
in interfaceInputStreamTransformer
- Parameters:
resource
- The p-io resource the stream is forinputStream
- The stream to transform- Returns:
- A transformed stream or possibly the supplied stream
- Throws:
java.io.IOException
-
-