/** * Constructor. * * <p> * When this method is used, the bundle path is determined by searching for the resource bundle * in the following locations: * <ul> * <li><code>[package].ForClass.properties</code> * <li><code>[package].nls.ForClass.properties</code> * <li><code>[package].i18n.ForClass.properties</code> * </ul> * * @param forClass The class * @return A new message bundle belonging to the class. */ public static final MessageBundle create(Class<?> forClass) { return create(forClass, findBundlePath(forClass)); }
/** * Constructor. * * <p> * When this method is used, the bundle path is determined by searching for the resource bundle * in the following locations: * <ul> * <li><code>[package].ForClass.properties</code> * <li><code>[package].nls.ForClass.properties</code> * <li><code>[package].i18n.ForClass.properties</code> * </ul> * * @param forClass The class * @return A new message bundle belonging to the class. */ public static final MessageBundle create(Class<?> forClass) { return create(forClass, findBundlePath(forClass)); }
/** * Constructor. * * <p> * When this method is used, the bundle path is determined by searching for the resource bundle * in the following locations: * <ul> * <li><code>[package].ForClass.properties</code> * <li><code>[package].nls.ForClass.properties</code> * <li><code>[package].i18n.ForClass.properties</code> * </ul> * * @param forClass The class * @return A new message bundle belonging to the class. */ public static final MessageBundle create(Class<?> forClass) { return create(forClass, findBundlePath(forClass)); }