org.sonatype.sisu.goodies.i18n
Interface MessageSource
- All Known Implementing Classes:
- AggregateMessageSource, PrefixingMessageSource, ResourceBundleMessageSource
public interface MessageSource
Provides simple access to i18n messages.
- Since:
- 1.0
getMessage
String getMessage(@NonNls
String code)
- Throws:
ResourceNotFoundException
getMessage
String getMessage(@NonNls
String code,
@Nullable
String defaultValue)
format
String format(@NonNls
String code,
Object... args)
- Throws:
ResourceNotFoundException
Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.