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 Object implements InputStreamTransformer
  • Constructor Details

    • IdentityTransformer

      IdentityTransformer()
  • Method Details

    • transform

      @Nonnull public InputStream transform(@Nonnull PlexusIoResource resource, @Nonnull InputStream inputStream) throws 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 interface InputStreamTransformer
      Parameters:
      resource - The p-io resource the stream is for
      inputStream - The stream to transform
      Returns:
      A transformed stream or possibly the supplied stream
      Throws:
      IOException