AbstractStringConverter¶
- public abstract class AbstractStringConverter<T> extends AbstractConverter<T>¶
A convenient abstract converter to handle object approvals on string representable objects.
Parameters: - <T> – the type you want to convert
Methods¶
getStringForm¶
- protected abstract String getStringForm(T value)¶
Gets the string representation of the type object. This representation will be written in the files you are going to then use in the approval process.
Parameters: - value – the object that you want to convert
Returns: the string representation of the object