com.github.fge.msgsimple.provider
Interface MessageSourceLoader


public interface MessageSourceLoader

Load a message source for a given locale

See Also:
LoadingMessageSourceProvider

Method Summary
 MessageSource load(Locale locale)
          Load a message source for a locale
 

Method Detail

load

MessageSource load(Locale locale)
                   throws IOException
Load a message source for a locale

Parameters:
locale - the locale (guaranteed never to be null
Returns:
a message source (null if not found)
Throws:
IOException - loading error