com.github.fge.msgsimple.source
Interface MessageSource

All Known Implementing Classes:
MapMessageSource, PropertiesMessageSource

public interface MessageSource

Interface for one message source

A message source is simply a key/value repository.


Method Summary
 String getKey(String key)
          Return a message matching a given key
 

Method Detail

getKey

String getKey(String key)
Return a message matching a given key

Note that this method MUST return null if there is no match for the given key.

Note also that it is guaranteed that you will never get a null key.

Parameters:
key - the key
Returns:
see description