A line transform pipeline item takes a character stream as input and generates a character stream as output. In order to facilitate a custom transform of the character stream, the user has to specify in a JSR-223 compliant script, the implementation of the following function:
public abstract String transformLine(String line);
This will be called once for each buffer being read from the source character stream. When
the source character stream is complete, this function will be called once more with a
line
parameter with a null
value.