Package mekhq.campaign.roleplay
Class JournalRescue
java.lang.Object
mekhq.campaign.roleplay.JournalRescue
Saves a player's journal from a campaign save that can't be loaded. The journal is read straight out of the save's
XML, so it survives problems anywhere else in the file, and written next to the save as a Markdown file that can be
imported into a campaign.
-
Method Summary
-
Method Details
-
rescue
Reads the journal from a save and writes it next to the save as Markdown.- Parameters:
save- the save file, compressed or notdateFormatter- formats dates for the export's headings- Returns:
- the file written, or
nullif the save had no journal or it couldn't be read or written
-