public final class PlainTextFormatter extends TextFormatter
Provides the functionality to format the text as a plain text formatting.
Constructor and Description |
---|
PlainTextFormatter()
Initializes a new instance
of the
PlainTextFormatter class. |
Modifier and Type | Method and Description |
---|---|
protected String |
formatText(TextItem item,
DocumentPartOptions documentPartOptions)
Converts
item to the string with formatting. |
getText, getText
getPreviousDocumentPartOptions, getPreviousItem, getText, getText, isEmpty, isFirstItem, reset
public PlainTextFormatter()
Initializes a new instance
of the PlainTextFormatter
class.
protected String formatText(TextItem item, DocumentPartOptions documentPartOptions)
Converts item
to the string with formatting.
formatText
in class DocumentPartFormatter<TextItem>
item
- The item for formatting.documentPartOptions
- The options for formatting.item
.Copyright © 2019. All rights reserved.