|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tngtech.jgiven.format.PrintfFormatter
public class PrintfFormatter
Formatter to use a Java format string to format arguments.
| Constructor Summary | |
|---|---|
PrintfFormatter()
|
|
| 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 |
| Constructor Detail |
|---|
public PrintfFormatter()
| 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 | ||||||||