com.aspose.diagram

Class FileFormatUtil

  • java.lang.Object
    • com.aspose.diagram.FileFormatUtil
public class FileFormatUtil 
extends java.lang.Object

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

Constructor Summary
 
Method Summary
staticFileFormatInfodetectFileFormat(java.lang.StringfilePath)
Detects and returns the information about a format of a visio stored in a file.
 

    • Constructor Detail

      • FileFormatUtil

        public FileFormatUtil()
    • Method Detail

      • detectFileFormat

        public static FileFormatInfo detectFileFormat(java.lang.String filePath)
                                                   throws java.lang.Exception
        Detects and returns the information about a format of a visio stored in a file.
        Parameters:
        filePath - The file path.
        Returns:
        A FileFormatInfo object that contains the detected information.