Class PlayersTableJSONCreator


  • public class PlayersTableJSONCreator
    extends java.lang.Object
    Utility for creating jQuery Datatables JSON for a Players Table.

    See https://www.datatables.net/manual/data/orthogonal-data#HTML-5 for sort kinds

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> toJSONMap()  
      • Methods inherited from class java.lang.Object

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

      • PlayersTableJSONCreator

        public PlayersTableJSONCreator​(java.util.List<TablePlayer> players,
                                       java.util.Map<java.util.UUID,​ExtensionTabData> extensionData,
                                       boolean openPlayerPageInNewTab,
                                       Formatters formatters,
                                       Locale locale)
    • Method Detail

      • toJSONMap

        public java.util.Map<java.lang.String,​java.lang.Object> toJSONMap()