Index: lutinutil/src/java/org/codelutin/util/OptionArgument.java diff -u /dev/null lutinutil/src/java/org/codelutin/util/OptionArgument.java:1.1 --- /dev/null Mon Nov 19 20:47:47 2007 +++ lutinutil/src/java/org/codelutin/util/OptionArgument.java Mon Nov 19 20:47:41 2007 @@ -0,0 +1,85 @@ +/** + * ##% Copyright (C) 2002, 2007 Code Lutin 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., 59 Temple Place + * - Suite 330, Boston, MA 02111-1307, USA. ##%* + */ + +package org.codelutin.util; + +import static org.codelutin.i18n.I18n._; + +/** + * Cette classe abstraite définit le contrat à respecter pour un argument d'une + * option dans le parser de ligne de commande. + *
+ * La classe est typée par le type de retour de l'argument attendu {@link #value} + * + * @author chemit + */ +public class OptionArgument