C bon j'ai ruessi ce que je voulais cependant j'ai une autre erreur.
J'arrive a passe du fichier Manager au fichier CSVFile mais le deuxieme plante:
public synchronized void doReport(PrintStream log, Date aDate) throws LicenseViolationException {
System.out.println("fichier en cours de loadage(doreport)");
notifyEvent(new flexcom.calltax.core.event.EventObject(flexcom.calltax.core.event.EventObject.Type.NOTIFICATION, "running", this.getClass(), this));
Trace.info(this.getClass(),"starting user report service");
String path = new String ("C:\\workspace\\calltaxDev\\data\\import\\CSV");
try{
CSVFile ManagerReporterService = new CSVFile(path);}
catch (FileNotFoundException e){
}
et dans le fichier CSVFile:
public CSVFile(String path) throws FileNotFoundException {
m_fileContent = new Vector();
System.out.println(path);
FileReader fileReader = new FileReader(path);
readFromFile(fileReader);
fitVectorsToSize();
}
FileReader fileReader = new FileReader(path); Lorsque j'arrive a cette ligne ca plante pourquoi?
Merci
C bon j'ai ruessi ce que je voulais cependant j'ai une autre erreur.
J'arrive a passe du fichier Manager au fichier CSVFile mais le deuxieme plante:
et dans le fichier CSVFile:
public CSVFile(String path) throws FileNotFoundException {
m_fileContent = new Vector();
System.out.println(path);
FileReader fileReader = new FileReader(path);
readFromFile(fileReader);
fitVectorsToSize();
}
FileReader fileReader = new FileReader(path); Lorsque j'arrive a cette ligne ca plante pourquoi?
Merci