analyseWriter/src/baseEvaluations/ecritureBaseEvaluation.java

26 lines
617 B
Java

package baseEvaluations;
import java.io.IOException;
import java.nio.file.Paths;
import MEPTL.commandes;
import cXML.Run;
public class ecritureBaseEvaluation {
public ecritureBaseEvaluation() {
String directoryName = "";
if(commandes.PathBaseEvaluationDefaut) {
directoryName = Paths.get("").toAbsolutePath().toString();
}else {
directoryName = commandes.PathBaseEvaluations;
}
try {
Run.ecritureNodeEnXML(commandes.evaluationsBase, commandes.NameBaseEvaluations, directoryName, Run.TypeFile.Evaluation);
} catch (IOException e) {
e.printStackTrace();
}
}
}