localeprovider.java
来自「非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应」· Java 代码 · 共 38 行
JAVA
38 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?