All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.adaptive.arp.impl.GlobalizationDelegate Maven / Gradle / Ivy

/**
--| ADAPTIVE RUNTIME PLATFORM |----------------------------------------------------------------------------------------

(C) Copyright 2013-2015 Carlos Lozano Diez t/a Adaptive.me .

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 . Unless required by appli-
-cable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,  WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the  License  for the specific language governing
permissions and limitations under the License.

Original author:

    * Carlos Lozano Diez
            
            
            

Contributors:

    * Ferran Vila Conesa
             
             
             

    * See source code files for contributors.

Release:

    * @version v2.2.0

-------------------------------------------| aut inveniam viam aut faciam |--------------------------------------------
*/

package me.adaptive.arp.impl;

import me.adaptive.arp.api.*;

/**
   Interface for Managing the Globalization results
   Auto-generated implementation of IGlobalization specification.
*/
public class GlobalizationDelegate extends BaseApplicationDelegate implements IGlobalization {

     /**
        Default Constructor.
     */
     public GlobalizationDelegate() {
          super();
     }

     /**
        Returns the default locale of the application defined in the configuration file

        @return Default Locale of the application
        @since v2.0
     */
     public Locale getDefaultLocale() {
          Locale response;
          // TODO: Not implemented.
          throw new UnsupportedOperationException(this.getClass().getName()+":getDefaultLocale");
          // return response;
     }

     /**
        List of supported locales for the application defined in the configuration file

        @return List of locales
        @since v2.0
     */
     public Locale[] getLocaleSupportedDescriptors() {
          Locale[] response;
          // TODO: Not implemented.
          throw new UnsupportedOperationException(this.getClass().getName()+":getLocaleSupportedDescriptors");
          // return response;
     }

     /**
        Gets the text/message corresponding to the given key and locale.

        @param key    to match text
        @param locale The locale object to get localized message, or the locale desciptor ("language" or "language-country" two-letters ISO codes.
        @return Localized text.
        @since v2.0
     */
     public String getResourceLiteral(String key, Locale locale) {
          String response;
          // TODO: Not implemented.
          throw new UnsupportedOperationException(this.getClass().getName()+":getResourceLiteral");
          // return response;
     }

     /**
        Gets the full application configured literals (key/message pairs) corresponding to the given locale.

        @param locale The locale object to get localized message, or the locale desciptor ("language" or "language-country" two-letters ISO codes.
        @return Localized texts in the form of an object.
        @since v2.0
     */
     public KeyPair[] getResourceLiterals(Locale locale) {
          KeyPair[] response;
          // TODO: Not implemented.
          throw new UnsupportedOperationException(this.getClass().getName()+":getResourceLiterals");
          // return response;
     }

}
/**
------------------------------------| Engineered with ♥ in Barcelona, Catalonia |--------------------------------------
*/




© 2015 - 2025 Weber Informatics LLC | Privacy Policy