1 26 27 package org.objectweb.ccm.scripts; 28 29 32 public class XMICompiler { 33 34 37 private IR3XMIOptionsManager manager_; 38 39 42 private java.lang.String version_; 43 44 50 public 51 XMICompiler(IR3XMIOptionsManager manager, 52 java.lang.String version) { 53 manager_ = manager; 54 version_ = version; 55 } 56 57 60 protected void 61 message(String text) { 62 System.out.println(version_ + " : " + text); 63 } 64 65 70 public boolean run(java.lang.String [] cmdline) { 71 if (manager_.analyse(cmdline) == -1) { 72 return false; 73 } 74 return true; 75 } 76 77 82 public IR3XMIOptionsManager 83 getManager() { 84 return manager_; 85 } 86 } 87 | Popular Tags |