1 20 package org.objectweb.modfact.jmi.service.cmdline.xmiio; 21 22 23 27 public abstract class XMIImportApplication 28 extends ImportApplication { 29 30 31 32 protected String modelFile_ = new String (); 33 34 35 41 protected XMIImportApplication(String package_name, String class_name, String default_ior_file) { 42 this(new org.objectweb.util.cmdline.lib.DefaultCommandLine(new String [] { class_name }, new String [0], new String [] { "Import an XMI file for the model " + package_name + "." }, true)); 43 } 44 45 49 private XMIImportApplication(org.objectweb.util.cmdline.lib.DefaultCommandLine commandLine) { 50 super(commandLine); 51 commandLine.addOption(new OptionModel(this)); 53 } 54 55 59 public void setModelFile(String filename) { 60 modelFile_ = filename; 61 } 62 63 } 64 | Popular Tags |