Class ResourceBundle
-
- All Implemented Interfaces:
@Deprecated() public class ResourceBundle
Class that represents a resource. Each resource has name, version, extension, and a boolean filed that says if it is a default bundle or not. Deprecated since 3.2, replaced with ClientResourceBundle
-
-
Field Summary
Fields Modifier and Type Field Description public String
bundleName
public String
bundleVersion
public boolean
isDefault
-
Constructor Summary
Constructors Constructor Description ResourceBundle(String name, String version, String extenstion, boolean isDefault)
Constructor for a default bundle.
-
Method Summary
Modifier and Type Method Description String
getBundleName()
Get the name of the bundle. String
getBundleVersion()
Get the version of the bundle. boolean
isDefault()
Get if the bundle is default or not. String
getBundleExtension()
Get the extension of the bundle -
-
Constructor Detail
-
ResourceBundle
ResourceBundle(String name, String version, String extenstion, boolean isDefault)
Constructor for a default bundle.- Parameters:
name
- name of the bundleversion
- version of the bundleextenstion
- the extenstion of the bundle it could like pdf, doc, txt, etc..isDefault
- flag that marks if this is a default bundle or not
-
-
Method Detail
-
getBundleName
@NonNull() String getBundleName()
Get the name of the bundle.
-
getBundleVersion
@NonNull() String getBundleVersion()
Get the version of the bundle.
-
isDefault
boolean isDefault()
Get if the bundle is default or not.
-
getBundleExtension
@NonNull() String getBundleExtension()
Get the extension of the bundle
-
-
-
-