public class TextFormatter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static TextFormatter |
BASE_FORMATTER |
static TextFormatter |
DEFAULT |
static TextFormatter |
DEFAULT_CONTINUE_CHAR |
static TextFormatter |
DEFAULT_END_OF_LINE |
static TextFormatter |
DEFAULT_NEW_LINE |
| Constructor and Description |
|---|
TextFormatter() |
| Modifier and Type | Method and Description |
|---|---|
protected TextAttribute |
attribute(TextAttribute attribute) |
java.lang.String |
description() |
java.lang.Object |
format(java.lang.Object content) |
protected java.lang.Object |
format(java.lang.Object content,
TextAttribute attribute) |
TextFormatter |
merge(TextFormatter another) |
public static final TextFormatter BASE_FORMATTER
public static final TextFormatter DEFAULT_NEW_LINE
public static final TextFormatter DEFAULT_END_OF_LINE
public static final TextFormatter DEFAULT_CONTINUE_CHAR
public static final TextFormatter DEFAULT
protected java.lang.Object format(java.lang.Object content,
TextAttribute attribute)
protected TextAttribute attribute(TextAttribute attribute)
public final java.lang.Object format(java.lang.Object content)
public final TextFormatter merge(TextFormatter another)
public java.lang.String description()