Skip to content
Snippets Groups Projects
Commit eb1e6c5a authored by xtof's avatar xtof
Browse files

feat : add command file

parent 51ed8b7d
No related branches found
No related tags found
2 merge requests!32Develop,!27Resolve "ECR - UVSQSAT"
package org.josast.ApplicationSatelliteDatabaseCli.cmd;
import java.util.logging.Logger;
import org.josast.AmsatList.Commande.CommandeList;
import org.josast.AmsatList.Commande.ExecuteCommand;
public class ExecuteCommandeFile implements Cmd {
private Logger log = Logger.getLogger(getClass().getName());
public ExecuteCommandeFile() {
// TODO Auto-generated constructor stub
}
@Override
public void excute() {
ParameterSingleton parameter = ParameterSingleton.getInstance();
//"src\\test\\data\\FileIn\\StatusSatelliteCmdcommandeSave.csv";
String filecmd2 = parameter.getInputFile();
String inputDirectory = parameter.getInputDirectory();
String outputDirectory = parameter.getOutputDirectory();
//
CommandeList cl = new CommandeList(filecmd2);
System.out.println(cl.getListeCommande().size());
ExecuteCommand ex = new ExecuteCommand();
ex.execute(inputDirectory, outputDirectory, cl);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment