Class PlayersTableJSONCreator
- java.lang.Object
-
- com.djrapitops.plan.delivery.rendering.json.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
-
-
Constructor Summary
Constructors Constructor Description PlayersTableJSONCreator(java.util.List<TablePlayer> players, java.util.Map<java.util.UUID,ExtensionTabData> extensionData, boolean openPlayerPageInNewTab, Formatters formatters, Locale locale)
PlayersTableJSONCreator(java.util.List<TablePlayer> players, java.util.Map<java.util.UUID,ExtensionTabData> extensionData, boolean openPlayerPageInNewTab, Formatters formatters, Locale locale, boolean playersPage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
toJSONMap()
-
-
-
Constructor Detail
-
PlayersTableJSONCreator
public PlayersTableJSONCreator(java.util.List<TablePlayer> players, java.util.Map<java.util.UUID,ExtensionTabData> extensionData, boolean openPlayerPageInNewTab, Formatters formatters, Locale locale)
-
PlayersTableJSONCreator
public PlayersTableJSONCreator(java.util.List<TablePlayer> players, java.util.Map<java.util.UUID,ExtensionTabData> extensionData, boolean openPlayerPageInNewTab, Formatters formatters, Locale locale, boolean playersPage)
-
-