Class DataIntegrationUtils
java.lang.Object
de.hybris.platform.marketplaceservices.dataimport.batch.util.DataIntegrationUtils
Utility methods used in Marketplace
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic FilecreateFile(File file, String dir, String ext) static FilegetLogFile(File file) get the log file for an imported csv filestatic FilegetTempLogFile(File file) get the temp log file for an imported csv filestatic StringresolveVendorCode(File file) resolve vendor code from file parent directories
-
Field Details
-
LOG_DIRECTORY
- See Also:
-
LOG_FILE_SUFFIX
- See Also:
-
LOG_TEMP_FILE_SUFFIX
- See Also:
-
-
Method Details
-
resolveVendorCode
resolve vendor code from file parent directories- Parameters:
file- the csv being imported- Returns:
- the vendor code
-
getLogFile
get the log file for an imported csv file- Parameters:
file- the csv being imported- Returns:
- the log file
-
getTempLogFile
get the temp log file for an imported csv file- Parameters:
file- the csv being imported- Returns:
- the log temp file
-
createFile
- Parameters:
file- the csv being importeddir- the directory where the file to be createdextension- the file suffix- Returns:
- the log file
-