class ConfigurationUtils {

	public static String processMultiConfigZipFile(IbisContext ibisContext, String datasource, boolean activate_config, boolean automatic_reload, InputStream file, String ruser) throws IOException, ConfigurationException {
		String result = "";
		if (file.available() > 0) {
			try (ZipInputStream zipInputStream = new ZipInputStream(file)) {
				int counter = 1;
				ZipEntry zipEntry;
				while ((zipEntry = zipInputStream.getNextEntry()) != null) {
					String entryName = zipEntry.getName();

					String fileName = "file_zipentry" + counter;
					if (StringUtils.isNotEmpty(result)) {
						result += "\n";
					}

					result += entryName + ":" + 
					ConfigurationUtils.addConfigToDatabase(ibisContext, datasource, activate_config, automatic_reload, fileName, zipInputStream, ruser);
	
					counter++;
				}
			}
		}
		return result;
	}

}