1 | /* |
2 | * Tools.java |
3 | * |
4 | * Project: EL4Ant |
5 | * |
6 | * WHEN WHO WHAT DESCRIPTION |
7 | * 22.03.05 YMA Creation |
8 | * |
9 | * EL4Ant, a Ant-based buildsystem, http://el4ant.sourceforge.net |
10 | * Copyright (C) 2005 by ELCA Informatique SA, Av. de la Harpe 22-24, |
11 | * 1000 Lausanne, Switzerland, http://www.elca.ch |
12 | * |
13 | * This program is published under the GNU General Public License (GPL) license. |
14 | * http://www.gnu.org/licenses/gpl.txt |
15 | * |
16 | * This program is distributed in the hope that it will be useful, |
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 | * GNU General Public License for more details. |
20 | * |
21 | * For alternative licensing, please contact info@elca.ch |
22 | */ |
23 | package helloworld.util; |
24 | |
25 | import org.apache.log4j.Logger; |
26 | |
27 | /** |
28 | * Demonstration utility class. |
29 | * |
30 | * <script type="text/javascript">printFileStatus |
31 | * ("$URL: https://svn.sourceforge.net/svnroot/el4ant/trunk/helloworld/common/java/helloworld/util/Tools.java $", |
32 | * "$Revision: 266 $", "$Date: 2005-10-24 10:26:50 +0200 (Mon, 24 Oct 2005) $", "$Author: yma $" |
33 | * );</script> |
34 | * |
35 | * @author Yves Martin (YMA) |
36 | * @version $Revision: 266 $ |
37 | */ |
38 | public abstract class Tools { |
39 | |
40 | /** Log4j logger. */ |
41 | private static Logger logger = Logger.getLogger(Tools.class); |
42 | |
43 | /** |
44 | * In fact does nothing except logging. |
45 | * |
46 | * @param info what to do |
47 | */ |
48 | public static void doSomething(String info) { |
49 | logger.info(info); |
50 | } |
51 | } |