fmeobjects.FMEDialog.guessFormat

FMEDialog.guessFormat()

guessFormat(filename),

This method attempts to guess the format based on the extension of the filename passed in.

Parameters:

filename (str) – The name of the file.

Return type:

str or None

Returns:

The format guessed or None if we were unable to make a guess.