public abstract class AbstractSession extends Object implements Session
| 限定符和类型 | 字段和说明 |
|---|---|
protected UtilResource |
i18nResource |
protected Locale |
locale |
| 构造器和说明 |
|---|
AbstractSession() |
| 限定符和类型 | 方法和说明 |
|---|---|
UtilResource |
getI18nResource()
获取多语言的资源。
|
Locale |
getLocale()
获取Session的Locale。
|
void |
setI18nResource(UtilResource resource)
设置多语言的资源。
|
void |
setLocale(Locale locale)
设置会话的Locale。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, getAttributeKeys, getHost, getId, getLastAccessTime, getPrincipal, getStartTimestamp, getTimeout, hasAllRoles, hasRole, hasRoles, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll, removeAttribute, setAttribute, setTimeout, stop, touchprotected Locale locale
protected UtilResource i18nResource
public UtilResource getI18nResource()
SessiongetI18nResource 在接口中 Sessionpublic void setI18nResource(UtilResource resource)
SessionsetI18nResource 在接口中 Sessionresource - 多语言资源Copyright © 2022 xworker.org. All rights reserved.