Index: lutinutil/src/java/org/codelutin/i18n/CountryEnum.java diff -u /dev/null lutinutil/src/java/org/codelutin/i18n/CountryEnum.java:1.1 --- /dev/null Tue Jan 1 17:32:09 2008 +++ lutinutil/src/java/org/codelutin/i18n/CountryEnum.java Tue Jan 1 17:32:04 2008 @@ -0,0 +1,28 @@ +/* +* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin, +* Tony Chemit +* +* 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.i18n; + +/** + * Une énumération pour représenter le pays d'une locale + * + * @author chemit + */ +public enum CountryEnum { + FR, EN +} Index: lutinutil/src/java/org/codelutin/i18n/LanguageEnum.java diff -u /dev/null lutinutil/src/java/org/codelutin/i18n/LanguageEnum.java:1.1 --- /dev/null Tue Jan 1 17:32:09 2008 +++ lutinutil/src/java/org/codelutin/i18n/LanguageEnum.java Tue Jan 1 17:32:04 2008 @@ -0,0 +1,30 @@ +/* +* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Code Lutin, +* Tony Chemit +* +* 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.i18n; + +/** + * Une énumération pour représenter le langue d'une locale. + * + * TODO Ajouter la liste définie + * + * @author chemit + */ +public enum LanguageEnum { + fr, en +} \ No newline at end of file