Class ListUtils


  • public class ListUtils
    extends Object
    Utility to manipulate lists and referenceLists
    • Constructor Detail

      • ListUtils

        public ListUtils()
    • Method Detail

      • toReferenceList

        public static fr.paris.lutece.util.ReferenceList toReferenceList​(List<?> list,
                                                                         String key,
                                                                         String value,
                                                                         String firstItem)
        Transforms a basical list to a reference list
        Parameters:
        list -
        key -
        value -
        firstItem -
        Returns:
        a reference list
      • getPropertyList

        public static List<String> getPropertyList​(String propertyKey)
        Get the property list
        Parameters:
        propertyKey -
        Returns:
        a list of property