use of org.entando.entando.aps.system.services.storage.IStorageManager in project entando-core by entando.
the class DatabaseDumper method save.
protected void save(String filename, String folder, InputStream is) throws ApsSystemException {
try {
IStorageManager storageManager = this.getStorageManager();
String path = folder + filename;
storageManager.saveFile(path, true, is);
} catch (Throwable t) {
_logger.error("Error saving backup '{}'", filename, t);
throw new ApsSystemException("Error saving backup '" + filename + "'", t);
}
}
Aggregations