Class ImportUtil
java.lang.Object
com.bluebell.greenhouse.sol.util.ImportUtil
Utilities for file-based imports.
- Version:
- 1.0.8
- Author:
- Stephen Prizio
-
Method Summary
Modifier and TypeMethodDescriptionstatic FilecreateTempImportFile(String prefix, String fileName) Creates a temporary import file using the original file extension when available.static StringresolveCsvDelimiter(File file) Resolves the delimiter to use for the given CSV file.
-
Method Details
-
createTempImportFile
Creates a temporary import file using the original file extension when available.- Parameters:
prefix- temp file prefixfileName- original file name- Returns:
File- Throws:
IOException- io exception
-
resolveCsvDelimiter
Resolves the delimiter to use for the given CSV file.- Parameters:
file-File- Returns:
- delimiter
- Throws:
IOException- io exception
-