Class ZipImporterImpl
java.lang.Object
ch.tocco.nice2.dms.impl.upload.zip.ZipImporterImpl
- All Implemented Interfaces:
ZipImporter
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.dms.api.upload.zip.ZipImporter
ZipImporter.Mode
-
Constructor Summary
ConstructorDescriptionZipImporterImpl
(BusinessUnitManager businessUnitManager, TaskSchedulingService taskSchedulingService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
importArchive
(File zipFile, SimpleEntityId location, ZipImporter.Mode mode, boolean publishResources) void
importArchive
(InputStream inputStream, SimpleEntityId location, ZipImporter.Mode mode, boolean publishResources)
-
Constructor Details
-
ZipImporterImpl
public ZipImporterImpl(BusinessUnitManager businessUnitManager, TaskSchedulingService taskSchedulingService)
-
-
Method Details
-
importArchive
public void importArchive(InputStream inputStream, SimpleEntityId location, ZipImporter.Mode mode, boolean publishResources) throws IOException, ZipImportException - Specified by:
importArchive
in interfaceZipImporter
- Throws:
IOException
ZipImportException
-
importArchive
public void importArchive(File zipFile, SimpleEntityId location, ZipImporter.Mode mode, boolean publishResources) throws IOException, ZipImportException - Specified by:
importArchive
in interfaceZipImporter
- Throws:
IOException
ZipImportException
-