NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Implement a standalone product search program in Java that lists matching products for a user who is
looking for T-shirts.
You are given 3 CSV files, each containing the T-shirts data for Nike, Puma and Adidas respectively.
Sample CSV files links are attached here for reference. You can add more data in existing files or can
add more CSV files for another companies.
Program should accept 4 input parameters
a. Color
b. Size
c. Gender
d. Output Preference
“Gender” is a String which has two possible values like ‘M’ and ‘F’. M=Male and F=Female.
“Output Preference” is a String which suggests whether the results should be sorted only by Price or by Rating or
by both Price and Rating.

Expected behavior and output
After getting the inputs, program should search for the T-shirts in all 3 csv files and list the results on
standard output, sorted by Output Preference.
• Program should be written considering that there could be more csv files and at runtime program should
load the files. Please make use of Thread which will look for any new file at a particular configurable
location after some configurable time and load the provided file
• If the suitable T-shirt is not present in any csv files, then program should return a user-friendly error
• Assignment should be implemented as a Maven project.
• Maven 3.x should be used.
• Use available 3
rd party dependencies to read and parse CSV files.
• Write an ant script to build a jar file for the same java program
• Use the new features of Java 8 wherever possible
Output
• Program should display the list of available T-shirts with details on console for provided user inputs.
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.