org.apache.geronimo.validator
Class Messages

java.lang.Object
  extended by org.apache.geronimo.validator.Messages

public class Messages
extends Object


Constructor Summary
Messages(String resourceName)
           
 
Method Summary
 String format(String message)
           
 String format(String message, Object arg1)
           
 String format(String message, Object[] args)
           
 String format(String message, Object arg1, Object arg2)
           
 String format(String message, Object arg1, Object arg2, Object arg3)
           
 String format(String message, Object arg1, Object arg2, Object arg3, Object arg4)
           
 String format(String message, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5)
           
protected  void init()
           
 String message(String message)
           
static void setLocale(Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Messages

public Messages(String resourceName)
Method Detail

init

protected void init()

format

public String format(String message,
                     Object arg1)

format

public String format(String message,
                     Object arg1,
                     Object arg2)

format

public String format(String message,
                     Object arg1,
                     Object arg2,
                     Object arg3)

format

public String format(String message,
                     Object arg1,
                     Object arg2,
                     Object arg3,
                     Object arg4)

format

public String format(String message,
                     Object arg1,
                     Object arg2,
                     Object arg3,
                     Object arg4,
                     Object arg5)

format

public String format(String message)

format

public String format(String message,
                     Object[] args)

message

public String message(String message)

setLocale

public static void setLocale(Locale locale)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.