T
- the type of object this Printer prints@FunctionalInterface
public interface Printer<T>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
print(T object,
java.util.Locale locale)
Print the object of type T for display.
|
java.lang.String print(T object, java.util.Locale locale)
object
- the instance to printlocale
- the current user locale