static void createConfigFile ( String xmlName , Resource configFile ) throws IOException { configFile . createFile ( true ) ; createFileFromResource ( "/resource/config/" + xmlName + ".xml" , configFile . getAbsoluteResource ( ) ) ; }
creates the Config File if File not exist