Package org.parboiled.common
Interface Formatter<T>
-
- Type Parameters:
T
-
- All Known Implementing Classes:
DefaultInvalidInputErrorFormatter
,NodeFormatter
,ToStringFormatter
public interface Formatter<T>
The capability to transform an object of type T into a string representation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
format(T object)
Create a string representation for the given obejct.
-
-
-
Method Detail
-
format
java.lang.String format(T object)
Create a string representation for the given obejct.- Parameters:
object
- the object to format- Returns:
- a string describing the object
-
-