log.error( "Encryption error", e );
}
}
FileOutputStream out = new FileOutputStream( file );
settingsDocument.save( out );
out.flush();
out.close();
log.info( "Settings saved to [" + file.getAbsolutePath() + "]" );
lastSettingsLoad = file.lastModified();
return file.getAbsolutePath();