public class LookaheadWikiPrinter extends WrappingWikiPrinter
Constructor and Description |
---|
LookaheadWikiPrinter(WikiPrinter printer) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
StringBuffer |
getBuffer() |
protected String |
getEOL()
This method is protected to allow classes extending this one to define what a new line is.
|
void |
print(String text) |
void |
printDelayed(String text) |
protected void |
printInternal(String text) |
void |
println(String text) |
void |
printlnDelayed(String text) |
protected void |
printlnInternal(String text) |
getWrappedPrinter, toString
public LookaheadWikiPrinter(WikiPrinter printer)
protected void printInternal(String text)
protected void printlnInternal(String text)
public void print(String text)
print
in interface WikiPrinter
print
in class WrappingWikiPrinter
text
- print the provided String
.public void println(String text)
println
in interface WikiPrinter
println
in class WrappingWikiPrinter
text
- print the provided String
and add a new line.public void printDelayed(String text)
public void printlnDelayed(String text)
public StringBuffer getBuffer()
public void flush()
protected String getEOL()
Copyright © 2004–2021 XWiki. All rights reserved.