Class JNewsUtils


  • public class JNewsUtils
    extends java.lang.Object
    A class containing JNews utility methods
    • Constructor Summary

      Constructors 
      Constructor Description
      JNewsUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.LinkedHashMap<java.lang.String,​java.util.List<java.lang.String>> getMapBigItems()
      Generates the list of large items depending on the different layouts
      static java.util.LinkedHashMap<java.lang.String,​java.lang.Integer> getMapCssLayout()
      Generates the Css styles map for displaying publications in order to associate a integer that represents the number of publications per container with a css style for cards
      static java.util.LinkedHashMap<java.lang.String,​java.util.List<java.lang.String>> getMapSmallItems()
      Generates the list of small items depending on the different layouts
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JNewsUtils

        public JNewsUtils()
    • Method Detail

      • getMapCssLayout

        public static java.util.LinkedHashMap<java.lang.String,​java.lang.Integer> getMapCssLayout()
        Generates the Css styles map for displaying publications in order to associate a integer that represents the number of publications per container with a css style for cards
        Returns:
        the Css styles map for displaying publications
      • getMapBigItems

        public static java.util.LinkedHashMap<java.lang.String,​java.util.List<java.lang.String>> getMapBigItems()
        Generates the list of large items depending on the different layouts
        Returns:
        the list of large items depending on the different layouts
      • getMapSmallItems

        public static java.util.LinkedHashMap<java.lang.String,​java.util.List<java.lang.String>> getMapSmallItems()
        Generates the list of small items depending on the different layouts
        Returns:
        the list of small items depending on the different layouts