Class PlainTextFormatter
java.lang.Object
net.sourceforge.jnlp.util.docprovider.formatters.formatters.ReplacingTextFormatter
net.sourceforge.jnlp.util.docprovider.formatters.formatters.PlainTextFormatter
- All Implemented Interfaces:
Formatter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringstatic final Stringprivate final intprivate final Stringprivate static final StringFields inherited from class ReplacingTextFormatter
backupVersion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHeaders(String id, Charset encoding) static StringgetSeeAlso(String s) private StringgetSpaces(int l, int k) getTail()private static StringlistToString(List<String> l) private static StringwrapParagraph(String input, int maxWidth, String indent) Methods inherited from class ReplacingTextFormatter
getAddressLink, getBold, getNewLine, getUrl, getUrl, getVersion, localizeTitle, process, replaceLtGtCharacters
-
Field Details
-
LongestKeys
-
currentSection
-
SUFFIX
- See Also:
-
paragraphIndentation
-
maxLineLength
private final int maxLineLength -
DEFAULT_INDENT
- See Also:
-
-
Constructor Details
-
PlainTextFormatter
-
PlainTextFormatter
public PlainTextFormatter()
-
-
Method Details
-
getLineSeparator
-
getBoldOpening
-
getBoldClosing
-
getTitle
-
getNewLine
-
getHeaders
-
getTail
-
getSeeAlso
-
getFileSuffix
-
wrapParagraph
-
wrapParagraph
-
listToString
-
getBreakAndBold
-
getBoldCloseNwlineBoldOpen
-
getOption
-
getSpaces
-