/* Launch4j (http://launch4j.sourceforge.net/) Cross-platform Java application wrapper for creating Windows native executables. Copyright (C) 2004, 2006 Grzegorz Kowal This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /* * Created on 2005-04-24 */ package net.sf.launch4j; //import net.sf.launch4j.config.Config; //import org.apache.commons.cli.CommandLine; //import org.apache.commons.cli.CommandLineParser; //import org.apache.commons.cli.HelpFormatter; //import org.apache.commons.cli.Options; //import org.apache.commons.cli.ParseException; //import org.apache.commons.cli.PosixParser; /** * @author Copyright (C) 2005 Grzegorz Kowal */ public class OptionParser { // private final Options _options; // // public OptionParser() { // _options = new Options(); // _options.addOption("h", "header", true, "header"); // } // // public Config parse(Config c, String[] args) throws ParseException { // CommandLineParser parser = new PosixParser(); // CommandLine cl = parser.parse(_options, args); // c.setJar(getFile(props, Config.JAR)); // c.setOutfile(getFile(props, Config.OUTFILE)); // } // // public void printHelp() { // HelpFormatter formatter = new HelpFormatter(); // formatter.printHelp("launch4j", _options); // } }