net.wicp.tams.component.services.ISupportedLocales Maven / Gradle / Ivy
package net.wicp.tams.component.services;
import java.util.Locale;
import net.wicp.tams.common.callback.IConvertValue;
public interface ISupportedLocales {
public String getSupportedLocales();
public Locale getCurLocale();
public String buildUrl(String oriUrl);
/**
* 得到绝对路径
*
* @param oriUrl
* @return
*/
public String buildUrlAbsolute(String oriUrl);
public void setLocale(String lang);
/***
* 得到I18NConvert
*
* @return
*/
public IConvertValue getConvert();
/***
* 对某个对象的colName进行国际化
*
* @param colName
* @return
*/
public IConvertValue