private void writeCacheXml(final String dirPath,final Configuration configuration) throws IOException {
  String fullPath=FilenameUtils.concat(dirPath,configuration.getCacheXmlFileName());
  FileUtils.writeStringToFile(new File(fullPath),configuration.getCacheXmlContent(),"UTF-8");
}

private void writeCacheXml ( final String dirPath , final Configuration configuration ) throws IOException { String fullPath = FilenameUtils . concat ( dirPath , configuration . getCacheXmlFileName ( ) ) ; FileUtils . writeStringToFile ( new File ( fullPath ) , configuration . getCacheXmlContent ( ) , "UTF-8" ) ; }
writes the cache . xml to the file , based on configuration
