Skip to main content

Class FileDataFormatFactory

The FileDataFormatFactory class is a factory class that creates Workspace.XBR.Xperiflow.Etl.IDataFormat objects based on the file extension. Implements the Workspace.XBR.Xperiflow.Etl.IFileDataFormatFactory interface.

Namespace: Workspace.XBR.Xperiflow.Etl

Assembly: Xperiflow.dll

Declaration
public class FileDataFormatFactory : IFileDataFormatFactory

Implements: Workspace.XBR.Xperiflow.Etl.IFileDataFormatFactory

Methods

CreateDataFormatByExtension(string, char)

Creates a new Workspace.XBR.Xperiflow.Etl.IDataFormat object based on the file extension.

Declaration
public IDataFormat CreateDataFormatByExtension(string extension, char delimiter = ',')
Returns

Workspace.XBR.Xperiflow.Etl.IDataFormat

A new Workspace.XBR.Xperiflow.Etl.IDataFormat object

Parameters
TypeNameDescription
System.StringextensionThe file extension
System.ChardelimiterThe delimiter for the data.

CreateDataFormatByFilePath(string, char)

Creates a new Workspace.XBR.Xperiflow.Etl.IDataFormat object based on the file path.

Declaration
public IDataFormat CreateDataFormatByFilePath(string filePath, char delimiter = ',')
Returns

Workspace.XBR.Xperiflow.Etl.IDataFormat

A new Workspace.XBR.Xperiflow.Etl.IDataFormat object

Parameters
TypeNameDescription
System.StringfilePathThe file path
System.ChardelimiterThe delimiter for the data.

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?