Skip to content

merge 13 with main #19

Merged
merged 5 commits into from
Mar 27, 2026
Merged

merge 13 with main #19

merged 5 commits into from
Mar 27, 2026

Conversation

roaraf
Copy link
Member

@roaraf roaraf commented Mar 27, 2026

No description provided.

roaraf added 5 commits March 26, 2026 18:22
Added a class for handling read and writing of stocks from and to .csv. Currently has method to read a csv file and output to console.
Changed the name of the read method to readStocksFromFile. Method now reads from the csv correctly and does checks for bad lines, and outputs the correct lines as Stock objects to a list, that it returns.
Added method writeStocksToFile that converts a list of stocks to a .csv file on a format that readStocksFromFile() accepts.
Added positive tests for the methods in FileHandler.
Added JavaDoc.
@roaraf roaraf linked an issue Mar 27, 2026 that may be closed by this pull request
@roaraf roaraf merged commit 3984b06 into main Mar 27, 2026
@roaraf roaraf deleted the 13-add-file-handling-for-stock-data branch April 15, 2026 17:49
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add file handling for stock data
1 participant