org.apache.aries.application.deployment.management.impl
Class MessageUtil
java.lang.Object
org.apache.aries.application.deployment.management.impl.MessageUtil
public class MessageUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageUtil
public MessageUtil(String fileName)
getFileName
public String getFileName()
processMessages
public void processMessages()
getErrors
public List<String> getErrors()
getWarnings
public List<String> getWarnings()
clear
public void clear()
hasErrors
public boolean hasErrors()
error
public void error(String msgKey,
Object... inserts)
error
public void error(String msgKey,
Exception e,
Object... inserts)
warning
public void warning(String msgKey,
Object... inserts)
warning
public void warning(String msgKey,
Exception e,
Object... inserts)
getMessage
public static final String getMessage(String key,
Object... inserts)
- Resolve a message from the bundle, including any necessary formatting.
- Parameters:
key
- the message key.inserts
- any required message inserts.
- Returns:
- the message translated into the server local.
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.