add a method to create a line from a list of fields.
Authored by: thibautd 2014-04-15
Parent: [r28710]
Child: [r28712]