Class WriterWikiPrinter
java.lang.Object
org.xwiki.rendering.renderer.printer.WriterWikiPrinter
- All Implemented Interfaces:
WikiPrinter
Printer using a
Writer as the underlying output target.- Since:
- 6.2M1
- Version:
- $Id: 7f5170ac8830bec6b4969db30ca1410dcec55a1b $
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WriterWikiPrinter
- Parameters:
writer- the writer
-
-
Method Details
-
getWriter
- Returns:
- the writer
-
getEOL
This method is protected to allow classes extending this one to override what a new line is.- Returns:
- a new line symbols
-
print
- Specified by:
printin interfaceWikiPrinter- Parameters:
text- print the providedString.
-
println
- Specified by:
printlnin interfaceWikiPrinter- Parameters:
text- print the providedStringand add a new line.
-
toString
-