Package com.jahnreil_stratpoint
Class loadBooks
java.lang.Object
com.jahnreil_stratpoint.loadBooks
Utility class to load book data from CSV files into an ArrayList of books using a specified management class.
-
Constructor Summary
ConstructorDescriptionloadBooks
(ArrayList<Book> bookList, ManageBook managebooks) Constructor for the loadBooks class. -
Method Summary
Modifier and TypeMethodDescriptionLoads book data from CSV files located in predefined directories into the BookList ArrayList.
-
Constructor Details
-
loadBooks
Constructor for the loadBooks class.- Parameters:
bookList
- The ArrayList where books will be loaded.managebooks
- The management class used to add books to the list.
-
-
Method Details
-
loadFromCSV
Loads book data from CSV files located in predefined directories into the BookList ArrayList.- Returns:
- The ArrayList of books after loading from CSV files.
-