|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.api.handler.DefaultConfigurationHandler
com.izforge.izpack.panels.userinput.processorclient.ValuesProcessingClient
public class ValuesProcessingClient
Simple implementation of ProcessingClient that wraps an array of string values.
| Constructor Summary | |
|---|---|
ValuesProcessingClient(MessageFormat format,
String[] values)
Constructs a ValuesProcessingClient. |
|
ValuesProcessingClient(String[] values)
Constructs a ValuesProcessingClient. |
|
| Method Summary | |
|---|---|
String |
getFieldContents(int index)
Returns the contents of the field indicated by index. |
int |
getNumFields()
Returns the number of sub-fields. |
String |
getText()
Returns the field contents as one formatted or concatenated text. |
String[] |
getValues()
Returns the values. |
| Methods inherited from class com.izforge.izpack.api.handler.DefaultConfigurationHandler |
|---|
addConfigurationOption, getConfigurationOption, getConfigurationOptionValue, getConfigurationOptionValue, getConfigurationOptionValue, getNames, readParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.izforge.izpack.api.data.Configurable |
|---|
addConfigurationOption, getConfigurationOption, getConfigurationOptionValue, getConfigurationOptionValue, getConfigurationOptionValue, getNames |
| Constructor Detail |
|---|
public ValuesProcessingClient(String[] values)
ValuesProcessingClient.
values - the values to process
public ValuesProcessingClient(MessageFormat format,
String[] values)
ValuesProcessingClient.
format - the formattervalues - the values to process| Method Detail |
|---|
public String[] getValues()
getValues in interface ProcessingClientpublic int getNumFields()
getNumFields in interface ProcessingClientpublic String getFieldContents(int index)
index.
getFieldContents in interface ProcessingClientindex - the index of the sub-field from which the contents is requested.
IndexOutOfBoundsException - if the index is out of bounds.public String getText()
getText in interface ProcessingClient
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||