URL url = getPropertyFileURL();
if (url.getProtocol().equalsIgnoreCase("file")){
try {
properties.store(new FileOutputStream(url.getPath()), Calendar.getInstance().toString());
} catch (Exception e) {
throw new ApplicationSettingsStoreException(url.getPath(), e);
}
}else{
logger.warn("Properties cannot be updated to location "+url.toString());
}
}