Class PlayerPageExporter
java.lang.Object
com.djrapitops.plan.delivery.export.PlayerPageExporter
Handles exporting of /player page html, data and resources.
-
Constructor Summary
ConstructorDescriptionPlayerPageExporter
(PlanFiles files, PlanConfig config, DBSystem dbSystem, PageFactory pageFactory, RootJSONResolver jsonHandler, Theme theme) -
Method Summary
-
Constructor Details
-
PlayerPageExporter
@Inject public PlayerPageExporter(PlanFiles files, PlanConfig config, DBSystem dbSystem, PageFactory pageFactory, RootJSONResolver jsonHandler, Theme theme)
-
-
Method Details
-
getRedirections
-
export
Perform export for a player page.- Parameters:
toDirectory
- Path to Export directoryplayerUUID
- UUID of the player- Throws:
IOException
- If a template can not be read from jar/disk or the result writtenNotFoundException
- If a file or resource that is being exported can not be found
-