public class FormatterChain extends Object implements Formatter.Chain
| Constructor and Description |
|---|
FormatterChain(List<Formatter> formatter)
Creates a new
FormatterChain. |
| Modifier and Type | Method and Description |
|---|---|
Object |
format(Object value)
Ask the next formatter to process the value.
|
public FormatterChain(List<Formatter> formatter)
FormatterChain.formatter - List of available formatters.public Object format(Object value)
Formatter.Chainformat in interface Formatter.Chainvalue - A value to format, not null.Copyright © 2018. All rights reserved.