Class MetaDataFactory

java.lang.Object
VASSAL.build.module.metadata.MetaDataFactory

public class MetaDataFactory extends Object
  • Field Details

  • Constructor Details

    • MetaDataFactory

      public MetaDataFactory()
  • Method Details

    • buildMetaData

      public static AbstractMetaData buildMetaData(File file)
      Factory method to build and return an appropriate MetaData class based on the contents of the file. Return null if the file is not a Zip archive, or it is not a VASSAL Module, Extension or Save Game.
      Parameters:
      file - metadata file
      Returns:
      MetaData object