static void generateConfigFile ( String configFilePath ) throws ConfigurationException { String fileExtention = FilenameUtils . getExtension ( configFilePath ) ; ConfigProvider < Configuration > provider = getProviderByFileExtention ( fileExtention ) ; if ( ! AuditUtil . isFileExists ( configFilePath ) ) { provider . generateConfig ( Configuration . DEFAULT , configFilePath ) ; } }
Generate config file .