org.apache.tapestry5.upload.internal.services
Class ParameterValue
java.lang.Object
org.apache.tapestry5.upload.internal.services.ParameterValue
public class ParameterValue
- extends Object
Holds single or multivalued values.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL
public static final ParameterValue NULL
ParameterValue
public ParameterValue(String value)
ParameterValue
public ParameterValue(String... values)
single
public String single()
- Returns:
- Single value of parameter (or first value if there are multiple values)
multi
public String[] multi()
- Returns:
- All values of parameter
add
public void add(String value)
isMulti
public boolean isMulti()
Copyright © 2003-2012 The Apache Software Foundation.