Package com.jk.data.backup
Class ImportManager
java.lang.Object
com.jk.data.backup.ImportManager
This class is responsible for managing the import of SQL data into a
 database.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Constructor Summary
ConstructorsConstructorDescriptionImportManager(String sqlFilePath) This method constructs a newImportManagerwith the path to the SQL file for import. - 
Method Summary
Modifier and TypeMethodDescriptionbooleandoImport()This method initiates the import process for the SQL data into the database. 
- 
Constructor Details
- 
ImportManager
This method constructs a newImportManagerwith the path to the SQL file for import.- Parameters:
 sqlFilePath- Specifies the path to the SQL file to be imported.- Throws:
 JKValidationException- if the provided SQL file path is empty or null.
 
 - 
 - 
Method Details
- 
doImport
This method initiates the import process for the SQL data into the database.- Returns:
 - true, if the import is successful, false otherwise.
 - Throws:
 Exception- if an error occurs during the import process.
 
 -