Klasse LegacyAreaShopParser

java.lang.Object
de.delinkedde.areashopreborn.importer.legacy.LegacyAreaShopParser

public final class LegacyAreaShopParser extends Object
Parses one legacy AreaShop region YAML file without resolving inherited configuration.
  • Konstruktordetails

    • LegacyAreaShopParser

      public LegacyAreaShopParser()
      Creates a stateless legacy parser.
  • Methodendetails

    • parse

      public LegacyRegionDefinition parse(Path importRoot, Path file) throws LegacyImportException
      Parses a file below the trusted import directory.
      Parameter:
      importRoot - normalized trusted AreaShop region directory
      file - YAML file to parse
      Gibt zurück:
      lossless legacy definition
      Löst aus:
      LegacyImportException - when the path escapes the root or a stored value is malformed