|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tngtech.jgiven.format.TableFormatter
public class TableFormatter
Special formatter that will format arguments as a table.
This formatter is used when a parameter is annotated with the Table
annotation.
Table| Field Summary | |
|---|---|
Table |
tableAnnotation
|
| Constructor Summary | |
|---|---|
TableFormatter(Table tableAnnotation)
|
|
| Method Summary | |
|---|---|
java.lang.String |
format(java.lang.Object o,
java.lang.String... args)
Format a single argument by taking optional formatter arguments into account. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Table tableAnnotation
| Constructor Detail |
|---|
public TableFormatter(Table tableAnnotation)
| Method Detail |
|---|
public java.lang.String format(java.lang.Object o,
java.lang.String... args)
ArgumentFormatter
format in interface ArgumentFormatter<java.lang.Object>o - the object to formatargs - optional arguments for the formatter to control the formatting.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||