Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.upload.internal.services
Class ParameterValue

    java.lang.Object
      org.apache.tapestry5.upload.internal.services.ParameterValue

    public class ParameterValue

extends java.lang.Object

Holds single or multivalued values.

Field Summary
`static ParameterValue` | `NULL`

Constructor Summary
`ParameterValue(java.lang.String... values)`
`ParameterValue(java.lang.String value)`

Method Summary
`void` | `add(java.lang.String value)`
`boolean` | `isMulti()`
`java.lang.String[]` | `multi()`
`java.lang.String` | `single()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### NULL

    public static final ParameterValue NULL

Constructor Detail

### ParameterValue

    public ParameterValue(java.lang.String value)

### ParameterValue

    public ParameterValue(java.lang.String... values)

Method Detail

### single

    public java.lang.String single()

  Returns:
    Single value of parameter (or first value if there are multiple values)

### multi

    public java.lang.String[] multi()

  Returns:
    All values of parameter

### add

    public void add(java.lang.String value)

### isMulti

    public boolean isMulti()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.