Class AbstractExportConverter
java.lang.Object
de.hybris.platform.impex.jalo.exp.converter.AbstractExportConverter
- All Implemented Interfaces:
ExportConverter,AutoCloseable
- Direct Known Subclasses:
AbstractExcelConverter,DefaultExportResultHandler
This class offers a default implementation of
ExportConverter and much more...-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes opened filesprotected voiddump()protected StringBuildergetDataContent(String name) getDataContent(ZipEntry entry) getMediasContent(String name) getMediasContent(ZipEntry entry) getZipEntries(ImpExMedia media) getZipEntryByName(ImpExMedia media, String name) voidmergeEntries(Collection<ZipEntry> entries, File target) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.impex.jalo.exp.converter.ExportConverter
getReport, start
-
Constructor Details
-
AbstractExportConverter
public AbstractExportConverter()
-
-
Method Details
-
setExport
- Specified by:
setExportin interfaceExportConverter
-
getExport
- Specified by:
getExportin interfaceExportConverter- Returns:
- container of the exported 'data' and 'medias'
-
close
public void close()Description copied from interface:ExportConverterCloses opened files- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceExportConverter
-
getDataEntries
- Throws:
IOExceptionJaloBusinessException
-
getMediasEntries
- Throws:
IOExceptionJaloBusinessException
-
getDataContent
- Throws:
IOExceptionJaloBusinessException
-
getDataContent
- Throws:
IOExceptionJaloBusinessException
-
getMediasContent
- Throws:
IOExceptionJaloBusinessException
-
getMediasContent
- Throws:
IOExceptionJaloBusinessException
-
getZipEntries
- Throws:
IOExceptionJaloBusinessException
-
getZipEntryByName
public ZipEntry getZipEntryByName(ImpExMedia media, String name) throws IOException, JaloBusinessException - Throws:
IOExceptionJaloBusinessException
-
getDataContent
- Throws:
IOException
-
mergeEntries
- Parameters:
entries-target-
-
dump
- Throws:
JaloBusinessExceptionIOException
-