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: 19.9.0.0 (19.9)
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberExtensionToSaveFormat
Converts a file name extension into a SaveFormat value.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(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
Creates a shallow copy of the current Object.
(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
Returns a string that represents the current object.
(Inherited from Object.)
See Also