站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

LanguagesMetaData - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet.impl.jsr168.metadata
Class LanguagesMetaData

java.lang.Object
  extended byorg.jboss.portal.portlet.impl.jsr168.metadata.LanguagesMetaData

public class LanguagesMetaData
extends java.lang.Object

Contains locale specific values.

Version:
$Revision: 5448 $
Author:
Julien Viet

Nested Class Summary
static class LanguagesMetaData.InfoMetaData
           
 
Field Summary
private  LanguagesMetaData.InfoMetaData info
          The inline info or null if not defined
private  java.lang.String resourceBundle
          The path of the resource bundle or null if no is defined.
private  java.util.List supportedLocales
          The unmodifiable list of the locales supported by the portlet.
 
Constructor Summary
LanguagesMetaData()
           
 
Method Summary
 LanguagesMetaData.InfoMetaData getInfo()
           
 java.lang.String getResourceBundle()
           
 java.util.List getSupportedLocales()
          A list of all supported locales.
 void setInfo(LanguagesMetaData.InfoMetaData info)
           
 void setResourceBundle(java.lang.String resourceBundle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

supportedLocales

private java.util.List supportedLocales
The unmodifiable list of the locales supported by the portlet.


resourceBundle

private java.lang.String resourceBundle
The path of the resource bundle or null if no is defined.


info

private LanguagesMetaData.InfoMetaData info
The inline info or null if not defined

Constructor Detail

LanguagesMetaData

public LanguagesMetaData()
Method Detail

getSupportedLocales

public java.util.List getSupportedLocales()
A list of all supported locales.

Returns:
a List of String representation of supported locales.

getResourceBundle

public java.lang.String getResourceBundle()

setResourceBundle

public void setResourceBundle(java.lang.String resourceBundle)

getInfo

public LanguagesMetaData.InfoMetaData getInfo()

setInfo

public void setInfo(LanguagesMetaData.InfoMetaData info)