Class loadBooks

java.lang.Object
com.jahnreil_stratpoint.loadBooks

public class loadBooks extends Object
Utility class to load book data from CSV files into an ArrayList of books using a specified management class.
  • Constructor Details

    • loadBooks

      public loadBooks(ArrayList<Book> bookList, ManageBook managebooks)
      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

      public ArrayList<Book> 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.