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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceBundle(String name, String version, String extenstion, boolean isDefault) Constructor for a default bundle.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceBundle

        ResourceBundle(String name, String version, String extenstion, boolean isDefault)
        Constructor for a default bundle.
        Parameters:
        name - name of the bundle
        version - version of the bundle
        extenstion - 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