Package org.araneaframework.framework

Examples of org.araneaframework.framework.LocalizationContext


import org.araneaframework.framework.LocalizationContext;
import org.araneaframework.framework.MessageContext;

public class ErrorUtil {
  public static String localize(String messageCode, Environment env) {
    LocalizationContext locCtx =
      (LocalizationContext) env.getEntry(LocalizationContext.class);
    return locCtx.getResourceBundle().getString(messageCode);   
  }
View Full Code Here

TOP

Related Classes of org.araneaframework.framework.LocalizationContext

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.