Package com.sos.i18n.annotation

Examples of com.sos.i18n.annotation.I18NResourceBundle


    ResourceBundleDefinition default_bundle_def = new ResourceBundleDefinition();

    // Process the top class-level resource bundle annotation, if one exists.
    // This will be the default resource bundle definition for all messages defined on the class's fields.
    if (clazz.isAnnotationPresent(I18NResourceBundle.class) == true) {
      I18NResourceBundle bundle_ann = clazz.getAnnotation(I18NResourceBundle.class);
      processI18NResourceBundleAnnotation(default_bundle_def, bundle_ann);
      was_internationalized = true;

      logMsgIfVerbose(I18N_CLASS_ANNOTATED_WITH_BUNDLE, clazz.getName(), default_bundle_def);
    }
View Full Code Here

TOP

Related Classes of com.sos.i18n.annotation.I18NResourceBundle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.