Question
Here is a few small samples of what the list is like. In Java code, I need to have it display all this but also
Here is a few small samples of what the list is like. In Java code, I need to have it display all this but also add in filters that sorts all 10,500 items by genre, year released, and rating, based on user input. The Media class should hold all the movie and series information. The DataFileReader should hold the document containing the huge list, called "NetflixUSA_Oct15_cleaned.txt", the Filter object should add in all the options to filter, based on what the user wants, and the client program should run the whole thing. Now keep in mind, I need an answer in JAVA CODE. I put a strong emphasis on that because every other time I tried this, I got useless answers in Python code, most of which had nothing to do with what the question was asking.
I have provided a data file on eCourseware that lists about 10,500 items from a totally hypothetical media streaming service. Each line is formatted like this: Title (Year) average User Rating, Length The length is expressed in a format like 53m or 1hr 47m for a movie, or in a number of episodes/seasons/volumes/ete. for a series. Note that for this assignment, we will assume that a "movie" is anything that's not a series. This includes things like documentaries, comedy specials, etc In case you're curious, the file lists all of Netflix's USA offerings as of Oct. 15, 2012. If you're wondering why this isn't more recent, it's surprisingly difficult to find a plain text file of Netflix's current offerings. The older data is a bit more interesting anyway, since Netflix recently abolished their star rating system in favor of a simpler "thumbs-up, thumbs down" system The Assignment In this project you'll be writing some software that parses (reads) the data file and allows the user to apply and remove filters to customize the results. That should make it easier to pick from the huge selection of options available! For example, the user may want to see a list of all the TV series after 1999 that are rated higher than 4.0 stars. This would be expressed using the following three filters: 1. genre -series 2. year>1999 3. rating> 4.0 The user should be able to add as many filters as s/he desires, and the software should allow the user to display a list of the items from the data file that match all the filters. The user should also be able to remove filters at will Every time a filter is added or removed, the software should indicate how many items from the data file match the filter list I have provided a data file on eCourseware that lists about 10,500 items from a totally hypothetical media streaming service. Each line is formatted like this: Title (Year) average User Rating, Length The length is expressed in a format like 53m or 1hr 47m for a movie, or in a number of episodes/seasons/volumes/ete. for a series. Note that for this assignment, we will assume that a "movie" is anything that's not a series. This includes things like documentaries, comedy specials, etc In case you're curious, the file lists all of Netflix's USA offerings as of Oct. 15, 2012. If you're wondering why this isn't more recent, it's surprisingly difficult to find a plain text file of Netflix's current offerings. The older data is a bit more interesting anyway, since Netflix recently abolished their star rating system in favor of a simpler "thumbs-up, thumbs down" system The Assignment In this project you'll be writing some software that parses (reads) the data file and allows the user to apply and remove filters to customize the results. That should make it easier to pick from the huge selection of options available! For example, the user may want to see a list of all the TV series after 1999 that are rated higher than 4.0 stars. This would be expressed using the following three filters: 1. genre -series 2. year>1999 3. rating> 4.0 The user should be able to add as many filters as s/he desires, and the software should allow the user to display a list of the items from the data file that match all the filters. The user should also be able to remove filters at will Every time a filter is added or removed, the software should indicate how many items from the data file match the filter listStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started