public class PlainTextProgressMessageFormatter extends Object implements ProgressMessageFormatter
Constructor and Description |
---|
PlainTextProgressMessageFormatter() |
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
getFormattedDone()
Returns the formatted representation of the 'Done' text string.
|
LocalizableMessage |
getFormattedPoint()
Returns the formatted representation of a point.
|
LocalizableMessage |
getFormattedProgress(LocalizableMessage text)
Returns the formatted representation of a progress message for a given text.
|
LocalizableMessage |
getFormattedWarning(LocalizableMessage text,
boolean applyMargin)
Returns the formatted representation of a warning for a given text.
|
LocalizableMessage |
getFormattedWithPoints(LocalizableMessage text)
Returns the formatted representation of the argument text to which we add points.
|
LocalizableMessage |
getLineBreak()
Returns the line break formatted.
|
LocalizableMessage |
getSpace()
Returns the formatted representation of a space.
|
LocalizableMessage |
getTab()
Returns the tab formatted.
|
public LocalizableMessage getFormattedWarning(LocalizableMessage text, boolean applyMargin)
ProgressMessageFormatter
getFormattedWarning
in interface ProgressMessageFormatter
text
- the source text from which we want to get the formatted representationapplyMargin
- specifies whether we apply a margin or not to the resulting formatted text.public LocalizableMessage getFormattedDone()
ProgressMessageFormatter
getFormattedDone
in interface ProgressMessageFormatter
public LocalizableMessage getFormattedWithPoints(LocalizableMessage text)
ProgressMessageFormatter
getFormattedWithPoints
in interface ProgressMessageFormatter
text
- the String to which add points.public LocalizableMessage getFormattedPoint()
ProgressMessageFormatter
getFormattedPoint
in interface ProgressMessageFormatter
public LocalizableMessage getSpace()
ProgressMessageFormatter
getSpace
in interface ProgressMessageFormatter
public LocalizableMessage getFormattedProgress(LocalizableMessage text)
ProgressMessageFormatter
getFormattedProgress
in interface ProgressMessageFormatter
text
- the source text from which we want to get the formatted representationpublic LocalizableMessage getLineBreak()
ProgressMessageFormatter
getLineBreak
in interface ProgressMessageFormatter
public LocalizableMessage getTab()
ProgressMessageFormatter
getTab
in interface ProgressMessageFormatter
Copyright © 2010–2017 ForgeRock AS. All rights reserved.