[This is preliminary documentation and is subject to change.]
Identifies the map format from the specified file name.
Namespace: fCraft.MapConversionAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
Parameters
- path
- String
Path to the file or directory to be identified.
- tryFallbackConverters
- Boolean
Whether or this method should try ALL converters, including ones that do not typically handle files with the given file extension.
Return Value
Map format of the specified file. MapFormat.Unknown, if the format could not be identified.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | fileName is null. |
| System.IO..::..FileNotFoundException | The file specified in path was not found. |