0
I’m reading a csv file that generates data from when a particular page was accessed. However I am not able to implement a method that allows me to perform the research from a date 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]);
}
}
}
What is the shape of the line? Comment one of them here for me to see.
– Leonardo Santos
{M7H1-V0BD21MJ-5619JXLH} - 02/02/2010 09:43:44 - DTAA/BJM0311 - PC-2790 - "http://yahoo.com"
– Ícaro Heitor