File f = new File(myLattesDir+resultList.get(0)+".html");
if(f.exists()){
fis = new FileInputStream(myLattesDir+resultList.get(0)+".html");
InputStream is = fis;
LattesSAXHandler handler = new LattesSAXHandler();
parser.setContentHandler(handler);
InputSource input = new InputSource(is);
parser.parse(input);
if(!handler.isErrorPageFromSite()) professorTelaDAO.insert(handler.getCorrente());
System.out.println("Thread "+numero+": Inserido professor "+resultList.get(0));
}
else{
System.out.println("Sem arquivo"+ myLattesDir+resultList.get(0)+".html");
}