Interface for mapping lines (strings) to domain objects typically used to map lines read from a file to domain objects
on a per line basis. Implementations of this interface perform the actual
work of parsing a line without having to deal with how the line was
Implementations must implement this method to map the provided line to
the parameter type T. The line number represents the number of lines
into a file the current line resides.
line to be mapped
lineNumber of the current line
- mapped object of type T
java.lang.Exception if error occured while parsing.