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
| Type | Name | Description |
|---|---|---|
System.String | extension | The file extension |
System.Char | delimiter | The 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
| Type | Name | Description |
|---|---|---|
System.String | filePath | The file path |
System.Char | delimiter | The delimiter for the data. |
Implements
Inherited Members
System.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString