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

TypedStringArray - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.core.impl.portlet.state
Class TypedStringArray

java.lang.Object
  extended byorg.jboss.portal.core.impl.portlet.state.TypedStringArray

public class TypedStringArray
extends java.lang.Object

An immutable typed string array.

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
private  java.lang.String[] strings
          The strings.
private  int type
          The type.
 
Constructor Summary
TypedStringArray(int type, java.lang.String[] strings)
           
 
Method Summary
 java.lang.String[] getStrings()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private final int type
The type.


strings

private final java.lang.String[] strings
The strings.

Constructor Detail

TypedStringArray

public TypedStringArray(int type,
                        java.lang.String[] strings)
                 throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException - if strings is null
Method Detail

getType

public int getType()

getStrings

public java.lang.String[] getStrings()