public static class Html2Txt.IndentingBlockElementFormatter extends Object implements Html2Txt.BlockElementFormatter
| Constructor and Description |
|---|
IndentingBlockElementFormatter(int indentation) |
| Modifier and Type | Method and Description |
|---|---|
void |
format(Html2Txt html2Txt,
int leftMarginWidth,
de.unkrig.html2txt.Html2Txt.Bulleting bulleting,
int measure,
Element element,
de.unkrig.commons.lang.protocol.Consumer<? super CharSequence> output)
Appends lines to the output.
|
public IndentingBlockElementFormatter(int indentation)
public void format(Html2Txt html2Txt, int leftMarginWidth, de.unkrig.html2txt.Html2Txt.Bulleting bulleting, int measure, Element element, de.unkrig.commons.lang.protocol.Consumer<? super CharSequence> output) throws Html2Txt.HtmlException
Html2Txt.BlockElementFormatterHtml2Txt.Bulleting.next()
is placed in the left margin), followed by up to measure characters.format in interface Html2Txt.BlockElementFormatterHtml2Txt.HtmlExceptionCopyright © 2016 Arno Unkrig. All rights reserved.