Commit efc49c4bad08181c66d320cf180199834175840f
1 parent
67c2fd3e
Exists in
master
Adição de javadoc para a classe
br.gov.frameworkdemoiselle.util.ResourceBundle
Showing
1 changed file
with
15 additions
and
0 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/util/ResourceBundle.java
| ... | ... | @@ -43,6 +43,12 @@ import java.util.Locale; |
| 43 | 43 | import java.util.MissingResourceException; |
| 44 | 44 | import java.util.Set; |
| 45 | 45 | |
| 46 | +/** | |
| 47 | + * The Demoiselle's ResourceBundle extends the abstraction java.util.ResourceBundle, | |
| 48 | + * and provide the locale and the base name for the bundle. | |
| 49 | + * | |
| 50 | + * @author SERPRO | |
| 51 | + */ | |
| 46 | 52 | public class ResourceBundle extends java.util.ResourceBundle implements Serializable { |
| 47 | 53 | |
| 48 | 54 | private static final long serialVersionUID = 1L; |
| ... | ... | @@ -67,6 +73,15 @@ public class ResourceBundle extends java.util.ResourceBundle implements Serializ |
| 67 | 73 | return delegate; |
| 68 | 74 | } |
| 69 | 75 | |
| 76 | + /** | |
| 77 | + * Constructor that set values of baseName and locale. | |
| 78 | + * | |
| 79 | + * @param baseName | |
| 80 | + * the base name to construct the complete bundle name. | |
| 81 | + * | |
| 82 | + * @param locale | |
| 83 | + * locale to define the choosen bundle. | |
| 84 | + */ | |
| 70 | 85 | public ResourceBundle(String baseName, Locale locale) { |
| 71 | 86 | this.baseName = baseName; |
| 72 | 87 | this.locale = locale; | ... | ... |