|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.parboiled.support.ToStringFormatter<T>
T - public class ToStringFormatter<T>
A simple Formatter falling back to the objects toString() method.
| Constructor Summary | |
|---|---|
ToStringFormatter()
|
|
ToStringFormatter(java.lang.String nullString)
|
|
| Method Summary | |
|---|---|
java.lang.String |
format(T obj)
Create a string representation for the given obejct. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToStringFormatter()
public ToStringFormatter(java.lang.String nullString)
| Method Detail |
|---|
public java.lang.String format(T obj)
Formatter
format in interface Formatter<T>obj - the object to format
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||