FileFormatProperties
Listing of Formats »FileFormatProperties["fmt"]
returns an association of properties for the specified format "fmt".
FileFormatProperties["fmt","prop"]
returns the property "prop" for the format "fmt".
FileFormatProperties["fmt",{"prop1","prop2",…}]
returns multiple properties.
Details
- FileFormatProperties can return properties used by Import and Export.
- For the full list of supported import and export formats, see $ImportFormats and $ExportFormats.
- FileFormatProperties[] returns all properties for all registered import and export formats.
- Available format properties include:
-
"FileNamePatterns" list of file name patterns associated to a format "MIMETypes" list of MIME types associated to a format - Import properties:
-
"ImportElements" import elements available for a format "DefaultImportElement" the element used as the default import element
Examples
open allclose allBasic Examples (2)
Scope (5)
Applications (2)
Properties & Relations (1)
An export-only format returns None for import properties:
Text
Wolfram Research (2021), FileFormatProperties, Wolfram Language function, https://reference.wolfram.com/language/ref/FileFormatProperties.html.
CMS
Wolfram Language. 2021. "FileFormatProperties." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FileFormatProperties.html.
APA
Wolfram Language. (2021). FileFormatProperties. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FileFormatProperties.html