Class PlayerPageExporter

java.lang.Object
com.djrapitops.plan.delivery.export.PlayerPageExporter

@Singleton public class PlayerPageExporter extends Object
Handles exporting of /player page html, data and resources.
  • Constructor Details

  • Method Details

    • export

      public void export(Path toDirectory, UUID playerUUID, String playerName) throws IOException
      Perform export for a player page.
      Parameters:
      toDirectory - Path to Export directory
      playerUUID - UUID of the player
      playerName - Name of the player
      Throws:
      IOException - If a template can not be read from jar/disk or the result written
      NotFoundException - If a file or resource that is being exported can not be found