public void setFileFormat(String fileFormat) {

        if (fileFormat.toUpperCase().equals(FileFormat.JSON.toString())) {
            m_fileFormat = FileFormat.JSON;
        }
    }
public void setFileFormat ( String fileFormat ) { if ( fileFormat . toUpperCase ( ) . equals ( FileFormat . JSON . toString ( ) ) ) { m_fileFormat = FileFormat . JSON ; } }
Setter for the file format.
@param fileFormat File format the configuration file is in.