it.avutils.jmapper.config
Class MessageHandler
java.lang.Object
it.avutils.jmapper.config.MessageHandler
public final class MessageHandler
- extends Object
This class manages the composition of the error message.
- Author:
- Alessandro Vurro
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageHandler
public MessageHandler()
message
public static String message(String key,
String... values)
- Select the key message and replaces the values passed as input with placeholders.
- Parameters:
key - values -
- Returns:
- returns the resulting string
message
public static String message(String key)
- Select the key message.
- Parameters:
key -
- Returns:
- returns the corresponding string
Copyright © 2013. All Rights Reserved.