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

net.wicp.tams.component.services.ISupportedLocales Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
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 getConvert(String colName);
}