
## FileFormatUtil class

Provides utility methods for converting file format enums to strings or file extensions and back.



The FileFormatUtil type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [FileFormatUtil()](/diagram/python-net/aspose.diagram/fileformatutil/__init__/#) |  |


### Methods
| Method | Description |
| :- | :- |
| [detect_file_format(stream)](/diagram/python-net/aspose.diagram/fileformatutil/detect_file_format/#io.RawIOBase) | Detects and returns the information about a format of a visio stored in a stream. |
| [detect_file_format(file_path)](/diagram/python-net/aspose.diagram/fileformatutil/detect_file_format/#str) | Detects and returns the information about a format of a visio stored in a file. |


### See Also

* module [aspose.diagram](../)
