|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jmatchparser.template.ChainedFormatter
public class ChainedFormatter
A formatter that calls multiple formatters in sequence.
| Constructor Summary | |
|---|---|
ChainedFormatter(String name,
Formatter... formatters)
Create a new chained formatter. |
|
| Method Summary | |
|---|---|
String |
format(String content,
PrintStream debugStream)
Format the content and return the formatted content. |
String |
getName()
Get the name of this formatter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainedFormatter(String name,
Formatter... formatters)
name - Name of the formatterformatters - Formatters to call| Method Detail |
|---|
public String getName()
Formatter
getName in interface Formatter
public String format(String content,
PrintStream debugStream)
throws IOException
Formatter
format in interface FormatterIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||