setOutputFormat function

Set Output Format