Package VASSAL.build.module.metadata
Class MetaDataFactory
java.lang.Object
VASSAL.build.module.metadata.MetaDataFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractMetaData
buildMetaData
(File file) Factory method to build and return an appropriate MetaData class based on the contents of the file.
-
Field Details
-
BUILDFILE_MODULE_ELEMENT1
- See Also:
-
BUILDFILE_MODULE_ELEMENT2
- See Also:
-
BUILDFILE_EXTENSION_ELEMENT
- See Also:
-
-
Constructor Details
-
MetaDataFactory
public MetaDataFactory()
-
-
Method Details
-
buildMetaData
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
-