public abstract class CSV<T> extends ArrayList<T>
A concrete implementation of this interface knows how to transform values of the declared type into a string of comma-separated list of elements, and how to read such strings back into individual values.
Your action method returns a CSV<...>
instance as an output argument. It can
also accept a concrecte subclass of this type as an input argument, e.g. CSVString
.
This type extends a regular List
, so within your action method you can
handle the elements as usual.
Modifier and Type | Field and Description |
---|---|
protected Datatype.Builtin |
datatype |
modCount
Modifier and Type | Method and Description |
---|---|
protected Datatype.Builtin |
getBuiltinDatatype() |
protected List |
parseString(String s) |
String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
protected final Datatype.Builtin datatype
public CSV()
public CSV(String s) throws InvalidValueException
InvalidValueException
protected List parseString(String s) throws InvalidValueException
InvalidValueException
protected Datatype.Builtin getBuiltinDatatype() throws InvalidValueException
InvalidValueException
public String toString()
toString
in class AbstractCollection<T>
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.