Package org.objectstyle.wolips.eogenerator.core.model

Examples of org.objectstyle.wolips.eogenerator.core.model.CommandLineTokenizer


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);
      }
    }
View Full Code Here

TOP

Related Classes of org.objectstyle.wolips.eogenerator.core.model.CommandLineTokenizer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.