I'm reading a csv file that generates data when a particular page was accessed. However I am not able to implement a method that allows me to perform the search from a date that I wish. Follow the code
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
public class httpcompleto {
public static void main(String[] args) throws IOException {
BufferedReader httpcompleto = new BufferedReader(new FileReader("http-completo.csv"));
String line = "";
String date;
while((line = httpcompleto.readLine()) != null ){
String[] row = line.split(",");
System.out.println(row[0] + " - " + row[1] + " - " + row[2] + " - " + row[3] + " - " + row[4]);
}
}
}