@Plugin(name="black", category="Converter") public static final class AbstractStyleNameConverter.Black extends AbstractStyleNameConverter
AbstractStyleNameConverter.Black, AbstractStyleNameConverter.Blue, AbstractStyleNameConverter.Cyan, AbstractStyleNameConverter.Green, AbstractStyleNameConverter.Magenta, AbstractStyleNameConverter.Red, AbstractStyleNameConverter.White, AbstractStyleNameConverter.Yellow
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
NAME
Black
|
LOGGER
CATEGORY
Constructor and Description |
---|
Black(java.util.List<PatternFormatter> formatters,
java.lang.String styling)
Constructs the converter.
|
Modifier and Type | Method and Description |
---|---|
static AbstractStyleNameConverter.Black |
newInstance(Configuration config,
java.lang.String[] options)
Gets an instance of the class (called via reflection).
|
format, newInstance
format, handlesThrowable, isVariable
getName, getStyleClass
protected static final java.lang.String NAME
public Black(java.util.List<PatternFormatter> formatters, java.lang.String styling)
formatters
- The PatternFormatters to generate the text to manipulate.styling
- The styling that should encapsulate the pattern.public static AbstractStyleNameConverter.Black newInstance(Configuration config, java.lang.String[] options)
config
- The current Configuration.options
- The pattern options, may be null. If the first element is "short", only the first line of the
throwable will be formatted.