FileFormatUtil Class

Provides utility methods for converting file format enums to strings or file extensions and back.
Inheritance Hierarchy
SystemObject
  Aspose.CellsFileFormatUtil

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.3.0.0 (20.3)
Syntax
public class FileFormatUtil

The FileFormatUtil type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDetectFileFormat(Stream)
Detects and returns the information about a format of an excel stored in a stream.
Public methodStatic memberDetectFileFormat(String)
Detects and returns the information about a format of an excel stored in a file.
Public methodStatic memberDetectFileFormat(Stream, String)
Detects and returns the information about a format of an excel stored in a stream.
Public methodStatic memberDetectFileFormat(String, String)
Detects and returns the information about a format of an excel stored in a file.
Public methodEquals (Inherited from Object.)
Public methodStatic memberExtensionToSaveFormat
Converts a file name extension into a SaveFormat value.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberIsTemplateFormat
Returns true if the extension is .xlt, .xltX, .xltm,.ots.
Public methodStatic memberLoadFormatToExtension
Converts a load format enumerated value into a file extension.
Public methodStatic memberLoadFormatToSaveFormat
Converts a LoadFormat value to a SaveFormat value if possible.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberSaveFormatToExtension
Converts a save format enumerated value into a file extension.
Public methodStatic memberSaveFormatToLoadFormat
Converts a SaveFormat value to a LoadFormat value if possible.
Public methodToString (Inherited from Object.)
See Also