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, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streamprotected final Datatype.Builtin datatype
public CSV()
public CSV(String s) throws InvalidValueException
InvalidValueExceptionprotected List parseString(String s) throws InvalidValueException
InvalidValueExceptionprotected Datatype.Builtin getBuiltinDatatype() throws InvalidValueException
InvalidValueExceptionpublic String toString()
toString in class AbstractCollection<T>Copyright © 2023 jUPnP.org. All rights reserved.