public class MessageBundle extends Object
ResourceBundleand a category. The category typically identifies an application or a project with a short string, and the resource bundle contains a list of messages identified by a unique string.
If care is taken to select distinct category strings for different projects composing a system, it will be possible to identify each message uniquely.
|Constructor and Description|
Construct a message bundle and assign it a category.
|Modifier and Type||Method and Description|
Return the resource bundle.
Return the category.
public MessageBundle(String category, ResourceBundle bundle)
category- a short string
Copyright © 2017. All rights reserved.