public class WriterWikiPrinter extends Object implements WikiPrinter
Writer
as the underlying output target.Constructor and Description |
---|
WriterWikiPrinter(Writer writer) |
Modifier and Type | Method and Description |
---|---|
protected String |
getEOL()
This method is protected to allow classes extending this one to override what a new line is.
|
Writer |
getWriter() |
void |
print(String text) |
void |
println(String text) |
String |
toString() |
public WriterWikiPrinter(Writer writer)
writer
- the writerpublic Writer getWriter()
protected String getEOL()
public void print(String text)
print
in interface WikiPrinter
text
- print the provided String
.public void println(String text)
println
in interface WikiPrinter
text
- print the provided String
and add a new line.Copyright © 2004–2021 XWiki. All rights reserved.