org.apache.lucene.messages
Class MessageImpl
java.lang.Object
org.apache.lucene.messages.MessageImpl
- All Implemented Interfaces:
- Serializable, Message
public class MessageImpl
- extends Object
- implements Message
Default implementation of Message interface.
For Native Language Support (NLS), system of software internationalization.
- See Also:
- Serialized Form
MessageImpl
public MessageImpl(String key)
MessageImpl
public MessageImpl(String key,
Object... args)
getArguments
public Object[] getArguments()
- Specified by:
getArguments
in interface Message
getKey
public String getKey()
- Specified by:
getKey
in interface Message
getLocalizedMessage
public String getLocalizedMessage()
- Specified by:
getLocalizedMessage
in interface Message
getLocalizedMessage
public String getLocalizedMessage(Locale locale)
- Specified by:
getLocalizedMessage
in interface Message
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.