public class JavaDocPipe extends java.lang.Object implements Pipe
hello
world
becomes
<pre>{@code
hello
world
}</pre>
Note that leading asterisks (*) are added by CodeFragments.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
JavaDocPipe() |
| 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.
|
public static final java.lang.String NAME
public java.lang.String apply(java.lang.String content,
java.lang.String arg)
Pipe