Search in sources :

Example 1 with WarbandsRegistryXMLWriter

use of delta.games.lotro.lore.warbands.io.xml.WarbandsRegistryXMLWriter in project lotro-tools by dmorcellet.

the class WarbandsGenerator method doIt.

private void doIt() {
    LotroCoreConfig cfg = LotroCoreConfig.getInstance();
    File loreDir = cfg.getLoreDir();
    File warbandsFile = new File(loreDir, "warbands.xml");
    WarbandsRegistry r = buildRegistry();
    WarbandsRegistryXMLWriter w = new WarbandsRegistryXMLWriter();
    w.write(warbandsFile, r, EncodingNames.UTF_8);
}
Also used : WarbandsRegistryXMLWriter(delta.games.lotro.lore.warbands.io.xml.WarbandsRegistryXMLWriter) WarbandsRegistry(delta.games.lotro.lore.warbands.WarbandsRegistry) LotroCoreConfig(delta.games.lotro.LotroCoreConfig) File(java.io.File)

Aggregations

LotroCoreConfig (delta.games.lotro.LotroCoreConfig)1 WarbandsRegistry (delta.games.lotro.lore.warbands.WarbandsRegistry)1 WarbandsRegistryXMLWriter (delta.games.lotro.lore.warbands.io.xml.WarbandsRegistryXMLWriter)1 File (java.io.File)1