public final class ListUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<String> |
getPropertyList(String propertyKey)
Return.
|
static fr.paris.lutece.util.ReferenceList |
toReferenceList(List<?> list,
String key,
String value,
String firstItem)
Convert a
List to a ReferenceList |
public static List<String> getPropertyList(String propertyKey)
propertyKey
- the property keypublic static fr.paris.lutece.util.ReferenceList toReferenceList(List<?> list, String key, String value, String firstItem)
List
to a ReferenceList
list
- list to convertkey
- the property to use as a key for ReferenceList
value
- the property to use as a value for ReferenceList
firstItem
- the first item in the ReferenceList
ReferenceList
with data from given listCopyright © 2017 City of Paris. All rights reserved.