deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.enterprise.servlet
Class Messages

java.lang.Object
  extended by org.deegree.enterprise.servlet.Messages

public class Messages
extends Object

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Method Summary
static String format(String key, Object arg0)
           
static String format(String key, Object[] arguments)
           
static String format(String key, Object arg0, Object arg1)
           
static String format(String key, Object arg0, Object arg1, Object arg2)
           
static String getString(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getString

public static String getString(String key)
Parameters:
key - to retrieve
Returns:
the value of give key or '!key_name!'

format

public static String format(String key,
                            Object arg0)
Parameters:
key -
arg0 -
Returns:
the value with the arg0 put into place {0}

format

public static String format(String key,
                            Object arg0,
                            Object arg1)
Parameters:
key -
arg0 -
arg1 -
Returns:
the value with the arg0,arg1 put into place {0},{1}

format

public static String format(String key,
                            Object arg0,
                            Object arg1,
                            Object arg2)
Parameters:
key -
arg0 -
arg1 -
arg2 -
Returns:
the value with the arg0,arg1,arg2 put into place {0},{1},{2}

format

public static String format(String key,
                            Object[] arguments)
Parameters:
key -
arguments -
Returns:
the value with given parameters filled into place

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org