public class ExternalEOGeneratorRunner implements IEOGeneratorRunner {
public boolean generate(EOGeneratorModel eogenModel, StringBuffer results, IProgressMonitor monitor) throws ParseException, IOException, InterruptedException {
String eogenFileContents = eogenModel.writeToString(eogenModel.getProjectPath().toFile());
List<String> commandsList = new LinkedList<String>();
CommandLineTokenizer tokenizer = new CommandLineTokenizer(eogenFileContents);
while (tokenizer.hasMoreTokens()) {
String token = tokenizer.nextToken();
if ("-extension".equals(token)) {
tokenizer.nextToken();
}
else {
commandsList.add(token);
}
}