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

java.lang.Object
  extended by org.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

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
 

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()