Custom export anyone?

Hi Vaadin gurus,

Do you know how to do a custom export from the grid/table component in the Vaadin 7?
A custom export can be of own file format (e.g., filename.mycompany or filename.vcf etc)