Skip to main content

Class FileDataFormatFactory

The FileDataFormatFactory class is a factory class that creates [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) objects based on the file extension. Implements the [Workspace.XBR.Xperiflow.Etl.IFileDataFormatFactory](../Xperiflow.Etl/IFileDataFormatFactory.md) interface.

Namespace: Workspace.XBR.Xperiflow.Etl

Assembly: Xperiflow.dll

Declaration
public class FileDataFormatFactory : IFileDataFormatFactory

Implements: Workspace.XBR.Xperiflow.Etl.IFileDataFormatFactory

Methods

CreateDataFormatByExtension(string)

Creates a new [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) object based on the file extension.

Declaration
public IDataFormat CreateDataFormatByExtension(string extension)
Returns

Workspace.XBR.Xperiflow.Etl.IDataFormat

A new [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) object

Parameters
TypeNameDescription
System.StringextensionThe file extension

CreateDataFormatByFilePath(string)

Creates a new [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) object based on the file path.

Declaration
public IDataFormat CreateDataFormatByFilePath(string filePath)
Returns

Workspace.XBR.Xperiflow.Etl.IDataFormat

A new [Workspace.XBR.Xperiflow.Etl.IDataFormat](../Xperiflow.Etl/IDataFormat.md) object

Parameters
TypeNameDescription
System.StringfilePathThe file path

Implements

Inherited Members

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString

Was this page helpful?