📄 localeprovider.java
字号:
/* LocaleProvider.java{{IS_NOTE Purpose: Description: History: Thu Jul 13 15:43:35 2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT*/package org.zkoss.zk.ui.sys;import java.util.Locale;import org.zkoss.zk.ui.Session;/** * Provides the locale for the specified session. * Once specified (in {@link org.zkoss.zk.ui.util.Configuration}), an instance of the specified class * is created and then {@link #getLocale} is called, is called each time * a request from the client is received. * * @author tomyeh */public interface LocaleProvider { /** Returns the locale of the specified session, or null if the default * shall be used. * * <p>The default is determined by browser's preference, if any. */ public Locale getLocale(Session sess);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -