@FunctionalInterface
public interface Pipe
This is a functional interface and can be implemented using lambda expressions.
CodeFragments| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
apply(java.lang.String content,
java.lang.String arg)
Transforms the input text of the code fragment to the output format specified by this pipe.
|
java.lang.String apply(java.lang.String content,
java.lang.String arg)
content - the input textarg - the pipe argument of the form <pipeName> or <pipeName>:<args>